A community directory for Mozillians to connect with each other.
NOTE
Mozilla community directory -- A centralized directory of all Mozilla contributors!
Home Page: https://mozillians.org/
License: BSD 3-Clause "New" or "Revised" License
A community directory for Mozillians to connect with each other.
NOTE
Django Admin should be sufficient
STR:
Expected:
Github username is shown (maybe in external accounts)
Actual:
Github username is not shown
Note: Searching after user's github username returns the profile correctly, but the username is not displayed in the profile page.
We should use the lessframework to create a responsive template to implement all the views for taskboard (list, detail, add, admin).
Keep in mind the one mozilla responsive template may supersede this, so this code might get tossed. Budget your time, and structure your code accordingly
Hey @ozten -- is the logging branch off the main repo needed? The last commit is from August so I'm assuming it's all merged into master but the remote branch never got deleted. If it's not needed, could you delete it?
See https://bugzilla.mozilla.org/show_bug.cgi?id=1466635 (public bug)
I'm not sure of how the code exactly work, feel free to close if im wrong :) @akatsoulas
whittieralaska
, i.e. search URL ishttps://mozillians.org/en-US/search/?q=whittieralaska
The users @jeffbryner and @syam3526 do not get any search results.
A search for the Mozillian's username successfully returns a result.
I don't have straight-forward steps to reproduce, but I will explain below how I manage to reproduce this issue:
Expected:
User can navigate to a different page.
Actual:
"This page isn't redirecting properly" message shown on page. Refreshing the page returns multiplied error messages, asking the user to login with LDAP.
Refiled on behalf of @hwine - See https://bugzilla.mozilla.org/show_bug.cgi?id=1467510 for original
--
logged into Mozillians
went to settings
clicked "Add Account" button
clicked "
(Auto Login switch is to left, but green, so ????)
Got error url:
https://mozillians.org/verify/identity/callback/?code=40vZcvH9x2jujzEB&state=IeinQhJAI1UvpuxoTIXfyxHYzaBoTDwU
Invite emails are sending the username even though thats currently a meaningless field
This error happends when we have the oauth in a container tab and the website eq. reps in another container tab.
steps to reproduce:
This is why:
error: could not create '/usr/local/lib/python2.6/dist-packages/IPython': Permission denied
or you could fix that. But I want to be able to just pip things without thinking about bs.
STR:
Expected:
Second child is expanded
Actual:
Click has no effect.
The MLS leaderboards don't exist anymore, and the links in the external accounts section just lead to an error page: https://location.services.mozilla.com/leaders
I just cloned a repo and tried vagrant up, and saw this in the output:
[default] err: /Stage[main]/Slapd/File[/home/vagrant/mozillians/directory/devslapd/slapd.conf]/ensure: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /home/vagrant/mozillians/directory/devslapd/slapd.conf.puppettmp_6677 at /tmp/vagrant-puppet/manifests/classes/slapd.pp:10
[default]
[default] err: /Stage[main]/Slapd/File[/home/vagrant/mozillians/directory/devslapd/setup.sh]/ensure: change from absent to file failed: Could not set 'file on ensure: No such file or directory - /home/vagrant/mozillians/directory/devslapd/setup.sh.puppettmp_7319 at /tmp/vagrant-puppet/manifests/classes/slapd.pp:6
This was followed by lots of messages about things being skipped because of failed dependencies.
After following virtualenv installation guide on Ubuntu 18 I get the following error when running tests:
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 29, in run_from_argv
super(Command, self).run_from_argv(argv)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/core/management/commands/test.py", line 62, in handle
failures = test_runner.run_tests(test_labels)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/test/runner.py", line 601, in run_tests
old_config = self.setup_databases()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/test/runner.py", line 546, in setup_databases
self.parallel, **kwargs
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/test/utils.py", line 187, in setup_databases
serialize=connection.settings_dict.get('TEST', {}).get('SERIALIZE', True),
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/base/creation.py", line 55, in create_test_db
self._create_test_db(verbosity, autoclobber, keepdb)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/base/creation.py", line 164, in _create_test_db
with self._nodb_connection.cursor() as cursor:
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 254, in cursor
return self._cursor()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 229, in _cursor
self.ensure_connection()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
self.connect()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 213, in ensure_connection
self.connect()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/base/base.py", line 189, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 274, in get_new_connection
conn = Database.connect(**conn_params)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2005, "Unknown MySQL server host 'db' (2)")
I fixed it by adding 127.0.0.1 db to /etc/hosts. After it most of the tests started to fail with the following kind of error:
ERROR: test_profile_edit_vouched_links_to_groups_page (mozillians.phonebook.tests.test_profile_edit.ProfileEditTests)
A vouched user editing their profile is shown a link to the groups page.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/egoncearov/Dev/mozillians/mozillians/phonebook/tests/test_profile_edit.py", line 25, in test_profile_edit_vouched_links_to_groups_page
user = UserFactory.create()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/factory/base.py", line 563, in create
return cls._generate(enums.CREATE_STRATEGY, kwargs)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/factory/base.py", line 500, in _generate
return step.build()
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/factory/builder.py", line 299, in build
context=postgen_context,
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/factory/declarations.py", line 626, in call
instance, create, context.value, **context.extra)
File "/home/egoncearov/Dev/mozillians/mozillians/users/tests/__init__.py", line 47, in userprofile
self.userprofile.save()
File "/home/egoncearov/Dev/mozillians/mozillians/users/models.py", line 779, in save
super(UserProfile, self).save(*args, **kwargs)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 808, in save
force_update=force_update, update_fields=update_fields)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 848, in save_base
update_fields=update_fields, raw=raw, using=using,
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/django/dispatch/dispatcher.py", line 193, in send
for receiver in self._live_receivers(sender)
File "/home/egoncearov/Dev/mozillians/mozillians/common/signals.py", line 25, in handle_save
super(SearchSignalProcessor, self).handle_save(sender, instance, **kwargs)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/haystack/signals.py", line 52, in handle_save
index.update_object(instance, using=using)
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/haystack/indexes.py", line 284, in update_object
backend.update(self, [instance])
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/haystack/backends/elasticsearch_backend.py", line 190, in update
bulk(self.conn, prepped_docs, index=self.index_name, doc_type='modelresult')
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 190, in bulk
for ok, item in streaming_bulk(client, actions, **kwargs):
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 162, in streaming_bulk
for result in _process_bulk_chunk(client, bulk_actions, raise_on_exception, raise_on_error, **kwargs):
File "/home/egoncearov/Dev/mozillians/venv/local/lib/python2.7/site-packages/elasticsearch/helpers/__init__.py", line 91, in _process_bulk_chunk
raise e
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f81cee97890>: Failed to establish a new connection: [Errno -2] Name or service not known) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f81cee97890>: Failed to establish a new connection: [Errno -2] Name or service not known)
The fix seems to be adding 127.0.0.1 es to /etc/hosts.
Please check if /etc/hosts modifications should be added to virtualenv installation instructions
STR:
Expected:
Nothing happens, as the user has no mozillans profile
Actual:
Scrolls up to the the top of the page
Steps to reproduce:
See https://bugzilla.mozilla.org/show_bug.cgi?id=1391632 (this is a copy)
When adding/inviting a user to a group the UI only let you see the User's full name.
Full names are not unique, and it is not possible to add a user with 100% assurance that you're adding the correct user (in particular when several users have the same full name).
You have to first add/invite them, then load the group members, click on their name and verify it's the correct user (and if not remove them from the group).
Not ideal/may lead to security troubles.
I would propose to do something such as using the user login/email or at least displaying it in the results when you look for the person to add. Megan (mbranson) may have better suggestions though
Reproduction:
URL where this happens (for example):
https://mozillians.org/en-US/group/cis_whitelist/edit/#invitations (field: "invites")
STR:
Expected:
Error message displayed on top of the page ("Please correct the errors below. "), inline error messages for all required fields left empty is shown
Actual:
No error message shown on top of the page, inline input field error message shown only for the first empty field.
You know, for all the single people.
I tried all the methods listed there.
For the email the link which i get in mail, it says that something wrong happened.
with google, it says you should use the most secure method for your account which is github.
with github, it says to enable 2FA.
In order to replace celery we want to build a small micro service that receives profile updates from mozillians and publishes them to CIS.
This service is responsible for:
This service will not:
Dependencies:
When the curator (and only member) of an access group deletes that group in mozilians, there is no event triggered in CIS, which means the groups list won't get updated (by removing the deleted access group).
It should work as described in the installation instructions.
This is kind of important.
It takes me about a day to get it where I can code.
And heaven forbid I accidentally do a vagrant up
and it tries to provision again over my working VM.
As new devs come to the project having this much downtime is wasteful.
:(
The Open Sans font family currently in use doesn't include the latin-ext charset. It has been fixed in #316 but seems to be broken again at some point.
I can submit a pull request with updates files but I'm not sure if we want to include cyrillic, cyrillic-ext, greek, greek-ext and vietnamese charsets as well.
Expected:
Actual:
cc @nukeador
With the move from GitHub username being an "External Account" to being a "Profile Identity" it looks like the user's GitHub username is no longer in their profile and as a result when searching in Mozillians for a GitHub username, it doesn't work.
This is an important feature in that it allows Mozillians to, given a GitHub user, determine their Mozillians profile.
cc @hwine
Probably use django-selectable.
The fact that #2391 exists means the URL I followed from the 500 error page is out of date.
When you edit the profile your First Name, Last Name and Bio return 500 errors if you make them longer than is allowed
The site doesn't render well on small screens.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.