Skip to content

Instantly share code, notes, and snippets.

View aditya1702's full-sized avatar
💻
Working

Aditya Vyas aditya1702

💻
Working
View GitHub Profile
+------------------+-----+
| features|label|
+------------------+-----+
| [1.9643, 4.5957]| 1|
| [2.2753, 3.8589]| 1|
| [2.9781, 4.5651]| 1|
| [2.932, 3.5519]| 1|
| [3.5772, 2.856]| 1|
| [4.015, 3.1937]| 1|
| [3.3814, 3.4291]| 1|

GSoC 2016 Final Submission, Aditya Vyas - FOSSASIA

I worked on the Open Event Organizer Server Project of FOSSASIA this summer. The idea was to build a server open for all event organizers to organize and create their own event and make it completely customisable. Initially I was tasked with implemeting the database and writing out the backend for the system. I implemeted many features like adding the Google and Facebook Login integration in our application. I also worked on adding the backend for the login and registration forms. Apart from this I also helped in setting up a permissions system which can be used for implementing admin and super-admin priveleges. In the end as the database work got a little less I also learnt and helped in improving the UI.I have also cleaned the code and configured codacy to suit our project. I have worked on the entire architecture of the project along with other team members and also worked on testing and bug f

Exception on /admin/login/ [GET]
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python2.7/dist-packages/flask_cors/extension.py", line 188, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
from tests.utils import OpenEventTestCase
from tests.setup_database import Setup
from open_event import current_app as app
from oauthlib.oauth2 import WebApplicationClient
from tests.object_mother import ObjectMother
from open_event.helpers.data import save_to_db
class TestGoogleOauth(OpenEventTestCase):
def setUp(self):
======================================================================
ERROR: test_redirect (test_google_oauth.TestGoogleOauth)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/tests/test_google_oauth.py", line 17, in test_redirect
self.assertTrue("Create" in self.app.get("/gCallback/?state=dummy_state&code=d/sfaummy_code").data)
File "/usr/local/lib/python2.7/dist-packages/werkzeug/test.py", line 778, in get
return self.open(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/flask/testing.py", line 108, in open
follow_redirects=follow_redirects)