Commit Graph

10 Commits

Author SHA1 Message Date
0883ac6423 Fix whitespace and indentation, per pep8 2019-01-17 20:47:43 +01:00
87237f6536 Tabs, meet your new overlords: spaces
In a quest to reach pep8, use spaces to indent rather than tabs.
2019-01-17 15:35:39 +01:00
022dd26283 Enforce lowercase email addresses in more places
We don't want two different accounts to exist with the same email
address only differing in case. This had already happened for a few
which have been manually fixed, since it turns out we only enforced the
rule on new account creation, not when accounts changed email address or
when they were created using oauth. Also add database level constraints to
make sure this cannot happen again if some codepath is missed.
2017-10-13 14:09:22 +02:00
137d4295f3 Remove unused code causing warnings 2014-01-01 16:41:27 +01:00
a850ad94d2 Fix typo, reported by Cedric 2011-12-05 17:07:59 +01:00
d604309ea9 Make sure the submitter is always listed as an organisation admin
This fixes organisation submitting again, and also makes it impossible to
orphan oneself from an organisation.
2011-11-15 22:49:48 +01:00
afa81021b3 Make it possible to add and remove managers from an organisation
(from the general interface, not just from /admin/)
2011-11-09 22:16:12 +01:00
248d940c7e Implement proper mergeing of organisations 2011-08-18 10:46:25 +02:00
7b3bb5d09b Make organisations support multiple "managers" and not just one
"submitter", thus making it possible for a single person to manage
multiple organisations, as well as for a single organisation to have
multiple different manages.

Re-hook events and news items to use organisation of the submitter
instead of the user who did the submission. (product listings already
did this)
2010-02-26 12:34:19 +01:00
f216b00037 Implement software catalogue. Break the organisation object out as
part of the core, since it seems like it could be useful for other
kinds of objects as well in the future, but for now only the
software catalogue uses it.
2009-12-28 14:22:17 +01:00