[openstreetmap/openstreetmap-website] Communities membership (PR #3742)

Brian DeRocher notifications at github.com
Wed Mar 22 04:13:45 UTC 2023


@openbrian pushed 26 commits.

d35bdcf81bcf11d8b501d49dc5e7bd787f8e7d5e  Add microcosm model and controller (show, index) and tests.
f89536fb133795ce3a667383bc0a7c5b004bf8a0  Create microcosm links.
4bd6254115b79265b89176fa9fe11d6c9fe5add0  Organizers can create and edit their own microcosms.
042a94516306941e30d4642cb0989c1c04cce82f  Sort by longitude and time of day
ea2f6acf0a3cad6fe989da1e1e83f57ce304a06f  Allow users to report a microcosm.
7050459cae8a7671b7994a4ba61c014226796973  Show the microcosms a user is an organizer of.
6f060820c070dda48c37425f4f49b06807ce2eb3  Add CRUD and testing for MicrocosmLinks.
8138258e03b446bb0975d5bcbf7d2ca90a560981  Use nested resources.
fa2b79060c34a96d229428d892f71df50a995289  Rename Community to CommunityIndex.
958ff1af2d545d785a3a1a3e87b3226576cd18db  Rename Microcosms to Communities.
9172fb0b477121d1f0930c180ae3273b53f4d3c5  Before Add CommunityMember.
161e23c0946b1b4291c676844594588d31ee29b4  Add CommunityMember.
68427c342eb0c3bd922cd7fd47a2713637ea8a77  Organizers can edit their communities.  Admin can promote members to organizers (first admin).
e5137907a37523e6030afb4089b55731d44a3ee6  Promote users from the community members page, not the community page, so we can display users better.
b7f23ca813c5f3c0abbff999a94f1f491473a59e  save returns true or false, save! returns true or throws an exception.
f36b68a4c3fed37f54370b4945e72920906261f3  Replace custom styles with bootstrappy .card style.
1e376e083c4cec65c316673dfe6f2953971fb4d2  Allow a member to step up and become an organizer.
69046469ccc994d4bada9109e3fd17147e6fe426  Add ability to remove memberships.
3abf613b5ddc97e3d328c7df484e743133aa3800  Make the forms look like the rest of the website.
30aeee547401e2576cb5bc58cc80c1050718a118  Write up a test for update microcosm as a non-organizer.
40f8275ec0b34717a18c6e57117a1375f78c994a  Refactor show_members page to loop over organizers then members.
7b73b4387cac84f225c87a24b9821813b29de7bd  Allow user to leave a microcosm.
9b928535f79d9be563908134aa4d6fec150d1fac  If the user is not signed in, provide a link to login before having them join.
5b97a66870bc17f63d5d6388fb81fdd76ba39536  Only list microcosms with at least 2 members.
f332a59da4e7e6f75b3e6b8a0dafc8efaf4a68ab  Always show the communities you belong to.
4002d7b356779eccb2c3a7e8cb13d3e6cc5d0dd7  Ignore the PermitAttributes for the assignment to community_membership.role.

-- 
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3742/files/f8066665ebe2f05d1574cd11aa7cab646dad2e99..4002d7b356779eccb2c3a7e8cb13d3e6cc5d0dd7
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/3742/push/13028225273 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230321/95a7f5da/attachment-0001.htm>


More information about the rails-dev mailing list