These are chat archives for fossasia/open-event-server

16th
Jan 2019
Mario Behling
@mariobehling
Jan 16 00:19

Hi @/all , I have created a kind of roadmap - a list of areas to work on over the upcoming months in the Open Event project. Please have a look at the issue here fossasia/labs.fossasia.org#341 and below.

The list of to dos and missing features for the Open Event project. Going through the list could be helpful for any developer who is interested in joining the project as well as for students interested to participate in GSoC.

Maintain and Administer System

  • Maintain system
  • Ensure it runs
  • Move files to "volumes" instead of hosting them on Linux system
  • Ensure automatic deployments work
    • a) master to eventyay.com
    • b) dev branch to dev.eventyay.com (for testing purposes)

Bugs

  • Fix reported bugs of system

Payments

  • Implementation of payment gateways in India, Google Wallet, Sofort Pay, Paylah, Wechat, Alipay
  • Add donation feature "pay what you want"
  • Implement missing functionalities for payment and sales sharing with platform
  • Implement account page
  • Implement "Pay invoice" for event organizers to pay to platform
  • Implement emails for different payment statuses, that can be administered/changed through the admin UI
  • Implement account page for payment overviews for users similar to Paypal for users
  • Implement admin overview of payment statuses for different roles in admin sales tab, e.g. marketing or superuser (limit accessible views depending on status)
  • Implement "marketing ownership" of events in admin UI Sales tab (Marketers/Sales can see only events related to them)
  • Automatically send out payment reminders. Different reminders can be defined in admin area. Frequency and details to be edited through the admin UI as well.
  • Send reminders to organizers to pay invoice
  • Limit account features if organizer does not pay invoice to platform, e.g. stop collecting money, stop access to event pages, stop access to view event dashboards

User Area

  • Define frontpage events by admin in admin area. Alternatively enable admin to set one event as frontpage.

Mobile Version

  • Make web UI work for mobile screens

Web Generator

  • Test and ensure web generator works with API version and make changes as needed

Form Builder

  • Create a form builder similar to Eventbrite, Google etc. for
  • a) speaker data
  • b) attendee data

Search/Explore

  • Implement missing functionalities to ensure search and explore events work
  • Offer standard filters such as location, time/date, type, categories

Groups and Recurring Events

  • Implement groups similar to Meetup
  • Implement recurring events similar to Meetup
  • Implement a waitlist

Roles

  • Enhance user roles
  • Provide option to transfer event to another organizer
  • Implement Roles: Organizer, Co-Organizer, Track Organizer, Registration Manager, Check-In Assistant

Scheduler

  • Provide more fine-grained options in scheduler
  • Design Scheduler more similar to Google Calendar

Public Pages and Web Generator

  • Design public pages similarly to generator pages
  • Align CSS and design of generator pages and public pages

Administration Area

  • Enhance UI and add filters in all admin views

Security

  • Implement Security tests and provide automated reports

Startpage Sections and General UI

  • Ensure start page shows events based on user location and/or profile
  • Implement additional sections for startpage including
    • Signup section
    • Featured events
    • Other sections
    • Mobile apps
  • Show search box as in Eventyay V1 on top bar

Speed Optimization

  • Optimize site and images for speedy loading of site

Android Apps

  • Make apps work with api.eventyay.com and update on playstore/fdroid
  • Enable check in by organizers and scan of participant data by exhibitors
  • Ensure system works in parallel with different organizers
  • Enable different roles, specifically registration staff (only has the rights to scan)
  • Implement roles and features in Android app and server/frontend

iOS Apps

  • Match all features of Android apps
Uddeshya Singh
@uds5501
Jan 16 09:05
Hey @mariobehling I am interested in working on the Form Building aspect of this road map
Mario Behling
@mariobehling
Jan 16 09:26
@uds5501 Sounds great.
@/all We often see messages of people who say they are interested to join the project and contribute. Also many are interested in GSoC. Rather than writing a huge proposal we always recommend to contribute to the project to show their dedication. If you would like to join, please start learning about the system by solving some bugs and help to bring the project forward. Thank you!
https://github.com/fossasia/open-event-frontend/issues?q=is%3Aissue+is%3Aopen+label%3Abug
Prashnat singh
@prshntsingh
Jan 16 11:05
@mariobehling indeed, working on the issuess.
Mario Behling
@mariobehling
Jan 16 17:11
:thumbsup:
Uddeshya Singh
@uds5501
Jan 16 18:03
I am trying to set up open-event-server on my local machine and in the command pip3 install -r requirements.txt I am getting the following error :
Uddeshya Singh
@uds5501
Jan 16 18:12
----------------------------------------
  Failed cleaning build dir for cryptography
Successfully built pyyaml
Failed to build cryptography
Installing collected packages: idna, urllib3, chardet, cryptography, requests, flask-rest-jsonapi, pyyaml, Jinja2, PyJWT, html5lib
  Found existing installation: idna 2.0
    Not uninstalling idna at /usr/lib/python3/dist-packages, outside environment /usr
  Found existing installation: urllib3 1.13.1
    Not uninstalling urllib3 at /usr/lib/python3/dist-packages, outside environment /usr
  Found existing installation: chardet 2.3.0
    Not uninstalling chardet at /usr/lib/python3/dist-packages, outside environment /usr
  Found existing installation: cryptography 1.2.3
    Not uninstalling cryptography at /usr/lib/python3/dist-packages, outside environment /usr
  Running setup.py install for cryptography ... error
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-frfr_332/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-zlupv6d6-record/install-record.txt --single-version-externally-managed --compile:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-frfr_332/cryptography/setup.py", line 319, in <module>
        **keywords_with_side_effects(sys.argv)
      File "/usr/local/lib/python3.5/dist-packages/setuptools-40.6.3-py3.5.egg/setuptools/__init__.py", line 143, in setup
      File "/usr/lib/python3.5/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/local/lib/python3.5/dist-packages/setuptools-40.6.3-py3.5.egg/setuptools/dist.py", line 442, in __init__
      File "/usr/lib/python3.5/distutils/dist.py", line 281, in __init__
        self.finalize_options()
      File "/usr/local/lib/python3.5/dist-packages/setuptools-40.6.3-py3.5.egg/setuptools/dist.py", line 601, in finalize_options
      File "/usr/local/lib/python3.5/dist-packages/cffi/setuptools_ext.py", line 204, in cffi_modules
        add_cffi_module(dist, cffi_module)
      File "/usr/local/lib/python3.5/dist-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module
        execfile(build_file_name, mod_vars)
      File "/usr/local/lib/python3.5/dist-packages/cffi/setuptools_ext.py", line 25, in execfile
        exec(code, glob, glob)
      File "src/_cffi_src/build_openssl.py", line 106, in <module>
        extra_link_args=extra_link_args(compiler_type()),
      File "/tmp/pip-build-frfr_332/cryptography/src/_cffi_src/utils.py", line 49, in build_ffi_for_binding
        extra_link_args=extra_link_args,
      File "/tmp/pip-build-frfr_332/cryptography/src/_cffi_src/utils.py", line 57, in build_ffi
        ffi = FFI()
      File "/usr/local/lib/python3.5/dist-packages/cffi/api.py", line 54, in __init__
        backend.__version__, backend.__file__))
    Exception: Version mismatch: this is the 'cffi' package version 1.11.5, located in '/usr/local/lib/python3.5/dist-packages/cffi/api.py'.  When we import the top-level '_cffi_backend' extension module, we get version 1.5.2, located in '/usr/lib/python3/dist-packages/_cffi_backend.cpython-35m-x86_64-linux-gnu.so'.  The two versions should be equal; check your installation.

    ----------------------------------------
  Can't rollback cryptography, nothing uninstalled.
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-frfr_332/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-zlupv6d6-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-frfr_332/cryptography/
You are using pip version 8.1.1, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
This is the error, any idea how to get past this?
Harshit Khandelwal
@liveHarshit
Jan 16 18:25
Is the server not working??
Uddeshya Singh
@uds5501
Jan 16 19:42
@liveHarshit asking about the error?
Aman Jain
@amanjain25
Jan 16 19:42

Hello everyone,
I am trying to set up open event server on my local machine and on running INTEGRATE_SOCKETIO=false celery worker -A app.celery this command i am getting this type of error.

 File "/usr/local/lib/python3.6/dist-packages/elasticsearch/connection/http_urllib3.py", line 172, in perform_request
    response = self.pool.urlopen(method, url, body, retries=Retry(False), headers=request_headers, **kw)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 649, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 333, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/lib/python3/dist-packages/six.py", line 686, in reraise
    raise value
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 356, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.6/http/client.py", line 964, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 166, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 150, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f655b89d9e8>: Failed to establish a new connection: [Errno 111] Connection refused
[2019-01-17 00:57:56,463: ERROR/MainProcess] Task rebuild.events.elasticsearch[6c5fea2c-9db9-4ce0-9b58-8ed0e064a791] raised unexpected: ConnectionError('N/A', '<urllib3.connection.HTTPConnection object at 0x7f655b89d9e8>: Failed to establish a new connection: [Errno 111] Connection refused', NewConnectionError('None: None',))
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/media/aman/New Volume/gsoc19/Fossasia/open-event-server/app/views/elastic_cron_helpers.py", line 20, in cron_rebuild_events_elasticsearch
    rebuild_indices(client=elastic)
  File "/media/aman/New Volume/gsoc19/Fossasia/open-event-server/app/models/search/sync.py", line 41, in rebuild_indices
    if client.indices.exists(index_class.meta.index):
  File "/usr/local/lib/python3.6/dist-packages/elasticsearch/client/utils.py", line 76, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/elasticsearch/client/indices.py", line 210, in exists
    params=params)
  File "/usr/local/lib/python3.6/dist-packages/elasticsearch/transport.py", line 318, in perform_request
    status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)
  File "/usr/local/lib/python3.6/dist-packages/elasticsearch/connection/http_urllib3.py", line 181, in perform_request
    raise ConnectionError('N/A', str(e), e)
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f655b89d9e8>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(None: None)

Can anyone guide how to solve it?