Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint from 7.26.0 to 8.35.0 #228

Open
wants to merge 300 commits into
base: microcosms
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
300 commits
Select commit Hold shift + click to select a range
3c391b9
rubocop hash rockets
openbrian Oct 15, 2019
8f151f4
Adding rspec for now. Will likely change to minitest later, because …
openbrian Oct 15, 2019
cde9c20
save returns true or false, save! returns true or throws an exception.
openbrian Oct 15, 2019
8d9f23d
Forgot to add the lock file.
openbrian Oct 15, 2019
60dd7ff
Merge branch 'master' into microcosms
openbrian Oct 15, 2019
bae65fa
Translate all the things.
openbrian Oct 17, 2019
5b2dea4
The I18N change broke a test, so fix that. Also change the wording o…
openbrian Oct 18, 2019
e8dd6ea
Change lat and lon from decimal to integer.
openbrian Oct 18, 2019
57849ec
Use router paths instead of hard coded urls.
openbrian Oct 18, 2019
d4f236b
use find_by instead of find_by_name
openbrian Oct 18, 2019
2aa3421
When setting up my database, I never created these pl/pgsql functions…
openbrian Oct 18, 2019
01d2560
Remove extra dashes.
openbrian Oct 18, 2019
166ce93
Restore having inet_ops modifier on the index for acls.
openbrian Oct 18, 2019
41541a5
Clean up accidental change to this index's opclass.
openbrian Oct 18, 2019
d5b0c54
Merge branch 'master' into microcosms
openbrian Oct 21, 2019
a16acdd
Merge branch 'master' into microcosms
openbrian Oct 25, 2019
6df2adc
Add code coverage.
openbrian Oct 25, 2019
8fff5fc
Add html5shiv to manifest.js.
openbrian Oct 25, 2019
e4e695b
Move coveralls requirements from rake file to env file.
openbrian Oct 25, 2019
428ad56
Move require coveralls up.
openbrian Oct 27, 2019
a0490c4
dummy whitespace to trigger a build
openbrian Oct 27, 2019
88e6a73
Make sure all tests run.
openbrian Oct 27, 2019
54a8311
Merge branch 'microcosms' of github.com:openbrian/osm-microcosms into…
openbrian Oct 30, 2019
a30d9fe
Merge branch 'master' into microcosms
openbrian Oct 30, 2019
4ace0bd
Merge branch 'master' into microcosms
openbrian Jan 20, 2020
7c11220
Deal with whitespace issue.
openbrian Jan 20, 2020
5aee2c2
Restore Gemfile.lock to BUNDLED WITH 1.17.2.
openbrian Jan 20, 2020
5ce2836
Resolve this "Setting NOT NULL on a column requires an AccessExclusiv…
openbrian Jan 20, 2020
49bdd4e
Merge branch 'master' into microcosms
openbrian Jan 20, 2020
3d7c346
There's an ApplicationRecord base class finally.
openbrian Jan 20, 2020
0e8d720
whitespace
openbrian Jan 20, 2020
de21fba
Rebuild database structure file.
openbrian Jan 20, 2020
a823157
Revert "Rebuild database structure file."
openbrian Jan 23, 2020
d319e31
Use slashed.
openbrian Jan 23, 2020
0cae928
Update structure.sql according to last migration change.
openbrian Jan 23, 2020
3c6207e
Rubocop appeasement.
openbrian Jan 25, 2020
4ab9a5d
Clean up this extra IMMUABLE keyword.
openbrian Jan 26, 2020
0ccc215
localize events heading
openbrian Jan 27, 2020
9fd38c2
Add event organizers.
openbrian Jan 27, 2020
34b43c1
Add event organizers.
openbrian Jan 27, 2020
0826f36
Merge branch 'microcosms' of github.com:openbrian/osm-microcosms into…
openbrian Jan 27, 2020
107c390
whitespace/lint cleanups
openbrian Jan 28, 2020
8479c71
Forgot to include the migration
openbrian Jan 28, 2020
af1ff77
rubocop
openbrian Jan 28, 2020
cb59e8c
Add a test to view a list of events, both all events and microcosm ev…
openbrian Jan 28, 2020
e2ee403
Replace hardcoded image of map with a leaflet map. Write an automate…
openbrian Jan 31, 2020
6fa26ac
Remove .report-disclaimer. This snuck its way in from some merge wit…
openbrian Feb 1, 2020
75cc760
Replace .flex_row with bootstrap row which is also flex-based.
openbrian Feb 1, 2020
81ff338
Replace custom styles with bootstrappy .card style. Put this in a he…
openbrian Feb 1, 2020
d47d9a1
Use .user_cards for event attendances too.
openbrian Feb 1, 2020
1de5ce5
Minor scss improvement and add a comment.
openbrian Feb 1, 2020
789620e
Remove unused stylesheet files until they are needed.
openbrian Feb 1, 2020
183e19c
My mistake, rspec is not needed.
openbrian Feb 1, 2020
eaded21
Merge remote-tracking branch 'upstream/master' into microcosms
openbrian Feb 1, 2020
4b858a2
Use Titus Fortner's webdrivers module instead of installing geckodriver.
openbrian Feb 1, 2020
ad64bc8
expect() comes from rspec. This should have been removed, but I had …
openbrian Feb 2, 2020
b5ef4e2
quotes
openbrian Feb 2, 2020
39dc4f5
erblint fix
openbrian Feb 2, 2020
9d85ab0
Add FK references where needed. Drop facebook and twitter columns fr…
openbrian Feb 2, 2020
c8ccb9b
add a comment about possibly using a transation
openbrian Feb 2, 2020
cd14b08
Header should contain the name of the microcosm. Forgot to commit th…
openbrian Feb 3, 2020
98991f3
Change microcosm attributes lat and lon to latitude and longitude in …
openbrian Feb 3, 2020
0e70136
rubocop cleanups
openbrian Feb 3, 2020
a762fb3
One line methods need a semicolon.
openbrian Feb 3, 2020
e483197
Webmock is blocking the titusfortner/webdrivers' call to download the…
openbrian Feb 3, 2020
58ab30e
Revert "Webmock is blocking the titusfortner/webdrivers' call to down…
openbrian Feb 5, 2020
63c2edf
Take out webdrivers for now.
openbrian Feb 5, 2020
92d9ea6
Disable the javascript based test until we get a webdriver installed.…
openbrian Feb 5, 2020
31db02b
hashtag
openbrian Feb 5, 2020
52c7bcb
Merge branch 'master' into microcosms
openbrian Feb 5, 2020
57c7000
Forgot to commit lock file.
openbrian Feb 5, 2020
6bd752f
div should have been h5
openbrian Feb 5, 2020
c7daeb1
Replace hard coded changesets with real ones. Change coordinates to …
openbrian Feb 13, 2020
0de5e80
Merge remote-tracking branch 'upstream/master' into microcosms
openbrian Feb 13, 2020
4f28cec
rubocop cleanups
openbrian Feb 13, 2020
c4f3ff6
Add location_url, latitude, and longitude to events. Replace hard co…
openbrian Feb 15, 2020
dd446f4
Add some validation and model testing for microcosms.
openbrian Feb 15, 2020
2d9b6da
udpate_tile is no longer needed.
openbrian Feb 15, 2020
43f2b9e
Add validation and model test for microcosm_member. Rename microcosm…
openbrian Feb 16, 2020
a219cfd
typo
openbrian Feb 16, 2020
f157b84
Fix translations
openbrian Feb 16, 2020
eb448d5
Hide Join button if already a member. Fix missing translations.
openbrian Feb 16, 2020
2fac11b
rubocop
openbrian Feb 16, 2020
bcd2289
Merge remote-tracking branch 'upstream/master' into microcosms
openbrian Feb 16, 2020
1acb41c
add missing file
openbrian Feb 16, 2020
fd596f6
whitespace
openbrian Feb 16, 2020
581d684
Add validation and model test for microcosm_link. Add validate_url r…
openbrian Feb 16, 2020
5c4e476
Evidently can't use es6 syntax.
openbrian Feb 16, 2020
b74fd70
Add validation for microcosm locations.
openbrian Feb 16, 2020
3b0a35c
Create validation and model test for events. Improve factory.
openbrian Feb 19, 2020
ed40d18
Merge remote-tracking branch 'upstream/master' into microcosms
openbrian Feb 19, 2020
e95fa3f
Add missing colon for null symbol.
openbrian Feb 19, 2020
594688c
rubocop
openbrian Feb 19, 2020
4c39e32
eslint cleanups
openbrian Feb 20, 2020
844eaeb
Convert blank input to nil. Allow nil for event coords.
openbrian Feb 21, 2020
2a603dc
Allow organizers to edit an event.
openbrian May 2, 2020
9f4bf54
Microcosm descriptions are not allowed to be nil/empty.
openbrian May 2, 2020
198d5c0
Merge branch 'master' into microcosms
openbrian May 2, 2020
a6a6ff9
Merge branch 'master' into microcosms
openbrian May 13, 2020
7e82139
Merge branch 'master' into microcosms
openbrian May 13, 2020
d1b43d5
Merge branch 'microcosms' of github.com:openbrian/osm-microcosms into…
openbrian May 13, 2020
8b1088c
Some rubocop fixes.
openbrian May 14, 2020
5b9f17e
Include mime-type
openbrian May 14, 2020
43bd03a
When running these migrations the table will be empty, so adding 3 co…
openbrian May 14, 2020
6b2e422
2 more rubocops and update db/structure.sql to match migrations.
openbrian May 14, 2020
2f629f1
Move NOT NULL to the correct table
openbrian May 14, 2020
e552223
Merge branch 'master' into microcosms
openbrian May 21, 2020
9c6394f
Add tests for microcosm and event_organizer.
openbrian May 23, 2020
709bef1
buml libxml-ruby.
openbrian May 23, 2020
ee74b35
Fix gemfile.lock?
openbrian May 23, 2020
4fc8fcf
That was dumb. Undo that.
openbrian May 25, 2020
f0e0d05
Merge branch 'master' into microcosms
openbrian May 25, 2020
090dcad
fix test
openbrian May 25, 2020
6a5dac0
Remove cucumber tests.
openbrian May 26, 2020
2c84671
rubocop fixes
openbrian May 26, 2020
716daa1
Add missing entry for microcosms in compact-secondary-nav
openbrian May 26, 2020
a062cb5
Using feature flag for dev instance, add a link for feedback to micro…
openbrian May 26, 2020
381398d
remove feature flag for feedback. hardcode for now
openbrian May 26, 2020
e312aee
allow anyone to create a microcosm. For now?
openbrian May 26, 2020
7292cbd
rubocop got pissy about indentation
openbrian May 26, 2020
5283fb9
Move microcosm :new, :create to non-admin. :update is already there …
openbrian May 27, 2020
1a5a70f
Add instruction, all fields are required.
openbrian May 27, 2020
036352c
add hint for location
openbrian May 27, 2020
e6ba9e3
Order microcosms by longitude.
openbrian May 27, 2020
5cd9de1
Remove inline javascript to comply with CSP. Move that logic to micr…
openbrian May 27, 2020
ae8de78
Order of members needs to be deterministic for automated testing. Or…
openbrian May 28, 2020
f4392b3
Allow non-admins to create a microcosm and become the organizer of it.
openbrian May 28, 2020
b623894
whitespace
openbrian May 28, 2020
a95eba3
Add todo note about scopes with organizers
openbrian May 28, 2020
e25f1dd
Dev has 2 microcosms that have no organizers. There's no admin who c…
openbrian May 28, 2020
88183a9
Remove debugging.
openbrian May 29, 2020
6283e09
Since there are duplicate memberships on dev, we must be able to remo…
openbrian May 29, 2020
bc235a1
It's ok to have a user as both a member and an organizer. Let only n…
openbrian May 31, 2020
aa9f98d
Use non-ajax for joining a microcosm.
openbrian May 31, 2020
2d4c395
Add a bunch of tests for microcosm_controller. This is not complete.…
openbrian Jun 1, 2020
8a7e921
test microcosm update
openbrian Jun 1, 2020
bdcff76
rubocop
openbrian Jun 1, 2020
5bd96db
Add more tests. I prefer @title so templates don't need to call func…
openbrian Jun 3, 2020
286b562
Merge branch 'microcosms' of github.com:openbrian/osm-microcosms into…
openbrian Jun 3, 2020
3e01261
Add a test for microcosm#create.
openbrian Jun 5, 2020
eba59c4
Merge branch 'master' into microcosms
openbrian Jun 5, 2020
b9c317b
Downgrade due to rubocop bug.
openbrian Jun 5, 2020
bbf399e
add a test for add_first_organizer
openbrian Jun 6, 2020
18a9e32
Add tests for stepping up
openbrian Jun 6, 2020
6434955
Make the forms look like the rest of the website.
openbrian Jun 6, 2020
fb2dd4d
Do not use ajax for event attendance form submission
openbrian Jun 6, 2020
066dfee
Hide 1 button
openbrian Jun 6, 2020
348ae17
Move temporary feedback link from header to a banner.
openbrian Jun 7, 2020
d3bfaf3
Make microcosm index look better. Move edit link from index to show.
openbrian Jun 7, 2020
07584af
Make events index page look better. Show only future events.
openbrian Jun 7, 2020
19c163f
Make event list look better. Move edit link from show to index. Fac…
openbrian Jun 7, 2020
e779231
Modify UI for mobile.
openbrian Jun 7, 2020
b3877bb
Factor out formMapInput from event/new form and let microcosm/new als…
openbrian Jun 8, 2020
24daf4b
Merge branch 'master' into microcosms
openbrian Jun 8, 2020
a7caab4
Make members and events page look better. Make sure events are order…
openbrian Jun 9, 2020
596fd5f
Make display_names on user_cards overflow.
openbrian Jun 9, 2020
1c832e9
Display if the changeset has review_requested.
openbrian Jun 9, 2020
764563f
Sort by longitude and time of day
openbrian Jun 9, 2020
719891f
remove multiple new lines at end of file
openbrian Jun 9, 2020
0a771af
Remove debugging in event show page
openbrian Jun 9, 2020
25be397
Add tests for 4 methods in event model.
openbrian Jun 20, 2020
8846d6e
Add tests for event helper
openbrian Jun 20, 2020
ebe798d
add test for event organizers
openbrian Jun 20, 2020
6d507c6
use regex for assert_match, strings work, but not sure where the issu…
openbrian Jun 20, 2020
1e01948
I learned it by watching you (note_helper_test.rb) (https://en.wikipe…
openbrian Jun 20, 2020
93f99fb
Merge remote-tracking branch 'upstream/master'
openbrian Jun 20, 2020
5ffd24c
Merge branch 'master' into microcosms
openbrian Jun 20, 2020
f1e91aa
Event helper test must have dynamic location_url and location for mat…
openbrian Jun 21, 2020
9853b66
start adding tests for event controller
openbrian Jun 21, 2020
92ca1e0
whitespace
openbrian Jun 21, 2020
1eea6dc
Merge remote-tracking branch 'upstream/master'
openbrian Jun 21, 2020
5448f4f
Merge branch 'master' into microcosms
openbrian Jun 21, 2020
ce85eb7
Add more event_controller tests.
openbrian Jun 22, 2020
ed3aa69
Add tests for event_controller update
openbrian Jun 26, 2020
ceee596
Merge branch 'master' into microcosms
openbrian Jun 26, 2020
5a81c50
Add test for events show
openbrian Jun 28, 2020
4c504ef
Use Arel.sql() for order() because this is a known safe value
openbrian Jun 28, 2020
88290df
show was already there
openbrian Jun 28, 2020
4052ac9
Merge branch 'master' of github.com:openbrian/osm-microcosms
openbrian Jun 28, 2020
587ebde
Merge branch 'master' into microcosms
openbrian Jun 28, 2020
d44455a
Merge remote-tracking branch 'upstream/master'
openbrian Jun 30, 2020
573ae4a
Merge branch 'master' into microcosms
openbrian Jun 30, 2020
7df0df2
Use tag (in place of content_tag) correctly.
openbrian Jun 30, 2020
4f57651
Merge branch 'master' into microcosms
openbrian Jul 2, 2020
8c652ed
Don't pollute the global namespace.
openbrian Jul 2, 2020
0dc53d8
Rename microcosm_member to microcosm_members.
openbrian Jul 2, 2020
a3fd3b7
Add tests for microcosm_members controller create.
openbrian Jul 2, 2020
00fb924
Add test for micocosm_member create failure.
openbrian Jul 3, 2020
6b8564b
Write more tests for microcosm_member.
openbrian Jul 15, 2020
a0c64a8
Improve error messages for microcosm controller and test. Use I18n, …
openbrian Jul 15, 2020
e7e14c5
Merge branch 'master' into microcosms
openbrian Jul 15, 2020
e293bf7
Get the create_when_save_fails test done using mocks.
openbrian Jul 17, 2020
7c7c4c5
Merge branch 'master' into microcosms
openbrian Jul 17, 2020
bc12fd8
Write up a test for microcosms_controller.update for when the update …
openbrian Jul 19, 2020
95082cd
Add tests for controllers when failures happen
openbrian Jul 19, 2020
086b142
No need for this controller.
openbrian Jul 19, 2020
c934f81
Use a block to control access to who can create and update events.
openbrian Jul 23, 2020
5d91eae
Merge branch 'master' into microcosms
openbrian Jul 23, 2020
3c773b1
Merge branch 'master' into microcosms
openbrian Jul 24, 2020
651d3a7
Fix a bad resolution to a merge conflict.
openbrian Jul 25, 2020
149b656
Write up a test for update microcosm as a non-organizer.
openbrian Jul 25, 2020
b56609a
Address brakeman findings. I added an exception for permit(:role) in…
openbrian Jul 25, 2020
f1fe638
Started testing event_attendance controller.
openbrian Jul 26, 2020
dcf6b78
When I uncommented code it accidentally re-indended stuff
openbrian Jul 26, 2020
c725919
When using constants instead of strings, use them everywhere.
openbrian Jul 27, 2020
f5dad9a
Finish writing tests for EventAttendancesController.
openbrian Jul 27, 2020
d6835a1
forgot to add structure.sql
openbrian Jul 27, 2020
a720b4a
Refactor show_members page to loop over organizers then members.
openbrian Jul 27, 2020
6525ccc
Refactor 2 step definitions into 1.
openbrian Jul 29, 2020
856a1f5
Allow user to leave a microcosm.
openbrian Jul 31, 2020
35aefdb
Merge branch 'master' into microcosms
openbrian Jul 31, 2020
ea8d3a9
Add ability to leavea microcosm. This is already covered in tests.
openbrian Aug 2, 2020
76568e5
Merge branch 'master' into microcosms
openbrian Aug 2, 2020
1b5604f
Now that :error is a normal flash type, we can use the shorthand vers…
openbrian Aug 7, 2020
8cba483
Merge branch 'master' into microcosms
openbrian Aug 7, 2020
c7283d0
Adapt to rubocop. In tests factor out some WET code into helper meth…
openbrian Aug 7, 2020
19d46cc
Handle plurals better
openbrian Aug 7, 2020
4da9655
Format these coords better.
openbrian Aug 8, 2020
6eeb82a
If the user is not signed in, provide a link to login before having t…
openbrian Aug 12, 2020
4dbe518
Merge branch 'master' into microcosms
openbrian Aug 12, 2020
94b378e
Get this test passing. Do no rely on .readonly!. Instead mock the s…
openbrian Aug 12, 2020
62e6447
Merge branch 'master' into microcosms
openbrian Jan 24, 2021
52b12a8
Coverals has been dropped.
openbrian Jan 24, 2021
d09c659
Warn if event was created in or updated to the past.
openbrian Jan 24, 2021
8cdbff8
Rubocop cleanups
openbrian Jan 24, 2021
48c5cfa
Rubocop fixes, forgot to add this file.
openbrian Jan 24, 2021
3f6e8e5
Normalize longitude input before using it.
openbrian Jan 25, 2021
2edcccc
Allow users to report a microcosm.
openbrian Jan 28, 2021
9f460fb
Only list microcosms with at least 2 members.
openbrian Jan 28, 2021
da6e7aa
Indent query to satisfy rubocop.
openbrian Jan 29, 2021
9a846e4
update test to reflect fact that only microcosms with more than 2 mem…
openbrian Feb 23, 2021
a1c173a
Merge remote-tracking branch 'upstream/master' into microcosms
openbrian Feb 23, 2021
6578740
Merge branch 'master' into microcosms
openbrian Apr 19, 2021
068eec4
Get tests working by not using :controller/:action in tests.
openbrian Apr 19, 2021
796ea40
Add a test for issues regarding a microcosm.
openbrian Apr 23, 2021
8d3120f
Add a test to cover reporting a microcosm.
openbrian Apr 25, 2021
78f8c9a
move dev message to bottom
openbrian Apr 25, 2021
215185b
Merge remote-tracking branch 'upstream/master' into microcosms
openbrian Apr 25, 2021
eb84c27
Always show the microcosms you belong to. Parameterize the "critical…
openbrian Apr 25, 2021
62abb5b
Convert event attendance intention to enum.
openbrian May 7, 2021
4f556e2
Include latest changes to structure.sql.
openbrian May 11, 2021
f756ce0
Merge remote-tracking branch 'upstream/master' into microcosms
openbrian May 11, 2021
c814558
"at least n members" in message.
openbrian Mar 27, 2022
20a6899
microcosm footer should be "fixed" position.
openbrian Mar 27, 2022
6875432
Make critical_mass a setting.
openbrian Mar 27, 2022
6acd050
Use degree symbol.
openbrian Mar 27, 2022
535bc0a
Support osm/rails at a sub-path.
openbrian Mar 27, 2022
1e35d93
When user is signed in, show *other* microcosms for "all" micricosms.
openbrian Mar 30, 2022
bbd9fb9
Show all members including organizers. And if you're the organizer, …
openbrian Mar 30, 2022
8b2419b
Bump eslint from 7.26.0 to 8.35.0
dependabot[bot] Feb 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
197 changes: 197 additions & 0 deletions Design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
# Microcosm

Micrososm is a website that supports the activities of OpenStreetMap local user groups. These activities include:

* membership tracking
* communication with members
* showcase recent achievements of the microcosm
* inform people about upcoming mapping events
* highlight places of staleness on the local map
* review changsets
* build walkable and bikable routes for fixing OSM bugs

## Sample URLs

There are various hosting options:

> http://mappingdc.org/microcosm

> http://openstreetmap.us/microcosms/mappingdc

> http://openstreetmap.org/microcosms/paris

# Users

* Visitor - Someone who is interested in mapping, but not a member of a microcosm.
* Member - Primary user is a mapper who belongs to the microcosm. The mapper goes to events, does street level mapping, edits the map in this area.
* Organizer - Secondary user is the organizers/team of the microcosm.
* Administrator - OSM admin may create microcosms.

# Features

## As a Visitor

### About the map

- [ ] See Notes on the map that need resolution

### About the microcosm

- [x] See a list of microcosms
- [x] See description of the microcosm
- [x] See the members of the microcosm
- [x] See links to facebook and twitter
- [ ] See a map of the area
- [ ] See links to members OSM wiki, OSM help, OSM Forum, GitHub, Mapillary, HOT OSM, and Twitter accounts if they exist.
- [ ] See what the microcosm is working on
- [ ] See what's new in the microcosm: editing activity, project activity
- [ ] See feed from twitter
- [ ] Not be invited more than once per year

### About the microcosm events

- [x] See upcoming events for a microcosm
- [x] See all upcoming events
- [ ] See past events
- [ ] Get directions to the event

### About the microcosm projects

- [ ] See the projects of the microcosm

## As a Member

### About the microcosm

- [ ] See details about other members
- [ ] See mayors of neighborhoods

### About the member

- [ ] See their profile
- [ ] See their upcoming events
- [ ] See their past events
- [ ] See their progress
- [ ] See where they have mapped
- [ ] Share that they belong to a Local Chapter
- [ ] Add friends (use OSM profile friends)

### About events

- [ ] Propose a new event
- [x] RSVP for an event

### About projects

- [ ] Propose a new project
- [ ] Elect to work on a project
- [ ] Work on a mapping task (task manager, local project)

### Other

## As an Organizer

### About the mapathon

- [ ] Can adjust the center location and bounds of the AOI

### About the microcosm

- [ ] Manage the description
- [ ] Set a hashtag for the microcosm
- [ ] Identify sister microcosms

### Events

- [x] Create an event
- [ ] Modify an event
- [ ] Generate Field Papers (Survey Papers)

### Membership

- [ ] Manage members
- [ ] Send a message to members
- [ ] Get notified about first time mappers in the area (https://github.com/cliffordsnow/newUsers)
- [ ] Invite people to join the microcosm

### Quality Assurance

- [ ] Measure the completeness of coverage
- [ ] Organize feeds (e.g. city bike station locations)
- [ ] Measure quality assurance

## As an admin

- [ ] Create microcosms
- [x] Edit microcosms
- [ ] Periodically scan the wiki for new user groups and local chapters (https://github.com/osmlab/localgroups/blob/master/osmgroups.geojson)

# QA

* https://wiki.openstreetmap.org/wiki/Keep_Right
* https://www.keepright.at/report_map.php?zoom=12&lat=39.95356&lon=-75.12364
* https://github.com/keepright/keepright
* http://osmose.openstreetmap.fr/en/map/
* https://wiki.openstreetmap.org/wiki/OSM_Inspector


# Use Cases

## List reviews in the area

Some people want their changes reviewed. Provide a list of these for the AOI.

## An organizer organizes a street survey

Assume: microcosm exists and has many users, event details have been selected

Steps:

1. Organizer notifies the microcosm about the event.
1. Members RSVP.
1. The event is held.

## At an event members upload pictures of their survey notes

At an event there may not be time for surveyors to enter all their data. They can take pictures of their notes and upload it to the microcosm for other people to map later. The notes are entered into a queue of tasks for others to assign to themselves.

Build native apps for iOS and Android to use the camera and upload them to the server.

## Build-a-mapathon

* Help an organizer pick a location to map based on various criteria like location of development, staleness, feasability (mass transit), etc.
* Find a quiet place to sit and edit.
* Break down area to be surveyed into walkable pieces for teams.
* Print Field Papers.

## Map Fixing for Individuals

* Find map bugs and generate a bikable or walkable path to cover these points.
* It should be a max bang for your buck type of optimization (use pgrouting).
* Incorporate mobile apps like StreetComplete and OSMBugs.

# Use

* Feature flags - pda/flip, fetlife/rollout
* Internationalization

# Ideas

* nanocosm
* Map of user groups around the world http://usergroups.openstreetmap.de/
* DC Wiki - How do we do x? e.g. sidewalks

# See Also

* https://wiki.openstreetmap.org/wiki/User_group
* https://github.com/maptime/maptime.github.io/blob/master/_data/chapters.json
* https://wiki.openstreetmap.org/wiki/User:Mvexel/New_User_Welcome_Message
* https://www.wmata.com/schedules/timetables/all-routes.cfm?State=DC
* https://github.com/fossgis/usergroups-bot - This is a bot written in Python, collection all Template:User_group together and generating a KML file to show them on a map: http://usergroups.openstreetmap.de

# Integration

* https://github.com/kort/kort
* StreetComplete


6 changes: 6 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ gem "rails-i18n", "~> 6.0.0"
gem "rinku", ">= 2.0.6", :require => "rails_rinku"
gem "strong_migrations"
gem "validates_email_format_of", ">= 1.5.1"
gem "validate_url"

# Native OSM extensions
gem "quad_tile", "~> 1.0.1"
Expand Down Expand Up @@ -119,6 +120,9 @@ gem "aws-sdk-s3"
# Used to resize user images
gem "mini_magick"

# Used to provide clean urls like /microcosm/mappingdc
gem "friendly_id"

# Gems useful for development
group :development do
gem "annotate"
Expand All @@ -133,6 +137,8 @@ end
group :test do
gem "brakeman"
gem "capybara", ">= 2.15"
gem "cucumber-rails", :require => false
gem "database_cleaner"
gem "erb_lint", :require => false
gem "factory_bot_rails"
gem "minitest", "~> 5.1"
Expand Down
60 changes: 60 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,14 +138,53 @@ GEM
crack (0.4.5)
rexml
crass (1.0.6)
cucumber (5.2.0)
builder (~> 3.2, >= 3.2.4)
cucumber-core (~> 8.0, >= 8.0.1)
cucumber-create-meta (~> 2.0, >= 2.0.2)
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
cucumber-gherkin (~> 15.0, >= 15.0.2)
cucumber-html-formatter (~> 9.0, >= 9.0.0)
cucumber-messages (~> 13.1, >= 13.1.0)
cucumber-wire (~> 4.0, >= 4.0.1)
diff-lcs (~> 1.4, >= 1.4.4)
multi_test (~> 0.1, >= 0.1.2)
sys-uname (~> 1.2, >= 1.2.1)
cucumber-core (8.0.1)
cucumber-gherkin (~> 15.0, >= 15.0.2)
cucumber-messages (~> 13.0, >= 13.0.1)
cucumber-tag-expressions (~> 2.0, >= 2.0.4)
cucumber-create-meta (2.0.4)
cucumber-messages (~> 13.1, >= 13.1.0)
sys-uname (~> 1.2, >= 1.2.1)
cucumber-cucumber-expressions (10.3.0)
cucumber-gherkin (15.0.2)
cucumber-messages (~> 13.0, >= 13.0.1)
cucumber-html-formatter (9.0.0)
cucumber-messages (~> 13.0, >= 13.0.1)
cucumber-messages (13.2.1)
protobuf-cucumber (~> 3.10, >= 3.10.8)
cucumber-rails (2.2.0)
capybara (>= 2.18, < 4)
cucumber (>= 3.0.2, < 6)
mime-types (~> 3.2)
nokogiri (~> 1.8)
rails (>= 5.0, < 7)
cucumber-tag-expressions (2.0.4)
cucumber-wire (4.0.1)
cucumber-core (~> 8.0, >= 8.0.1)
cucumber-cucumber-expressions (~> 10.3, >= 10.3.0)
cucumber-messages (~> 13.0, >= 13.0.1)
dalli (2.7.11)
database_cleaner (1.8.5)
debug_inspector (1.1.0)
deep_merge (1.2.1)
delayed_job (4.1.9)
activesupport (>= 3.0, < 6.2)
delayed_job_active_record (4.1.6)
activerecord (>= 3.0, < 6.2)
delayed_job (>= 3.0, < 5)
diff-lcs (1.4.4)
docile (1.3.5)
dry-configurable (0.12.1)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -209,6 +248,8 @@ GEM
ffi (1.15.0)
ffi-libarchive (1.0.17)
ffi (~> 1.0)
friendly_id (5.4.2)
activerecord (>= 4.0.0)
fspath (3.1.2)
gd2-ffij (0.4.0)
ffi (>= 1.0.0)
Expand Down Expand Up @@ -262,12 +303,17 @@ GEM
marcel (1.0.1)
maxminddb (0.1.22)
method_source (1.0.0)
middleware (0.1.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2020.1104)
mini_magick (4.11.0)
mini_mime (1.1.0)
mini_portile2 (2.5.1)
minitest (5.14.4)
msgpack (1.4.2)
multi_json (1.15.0)
multi_test (0.1.2)
multi_xml (0.6.0)
multipart-post (2.1.1)
nio4r (2.5.7)
Expand Down Expand Up @@ -327,6 +373,11 @@ GEM
pg (1.2.3)
popper_js (1.16.0)
progress (3.6.0)
protobuf-cucumber (3.10.8)
activesupport (>= 3.2)
middleware
thor
thread_safe
public_suffix (4.0.6)
puma (5.3.0)
nio4r (~> 2.0)
Expand Down Expand Up @@ -445,6 +496,8 @@ GEM
sprockets (>= 3.0.0)
strong_migrations (0.7.6)
activerecord (>= 5)
sys-uname (1.2.2)
ffi (~> 1.1)
thor (1.1.0)
thread_safe (0.3.6)
tilt (2.0.10)
Expand All @@ -453,6 +506,9 @@ GEM
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.0.0)
validate_url (1.0.13)
activemodel (>= 3.0.0)
public_suffix
validates_email_format_of (1.6.3)
i18n
vendorer (0.2.0)
Expand Down Expand Up @@ -491,13 +547,16 @@ DEPENDENCIES
capybara (>= 2.15)
composite_primary_keys (~> 12.0.0)
config
cucumber-rails
dalli
database_cleaner
debug_inspector
delayed_job_active_record
erb_lint
factory_bot_rails
faraday
ffi-libarchive
friendly_id
gd2-ffij (>= 0.4.0)
htmlentities
http_accept_language (~> 2.1.1)
Expand Down Expand Up @@ -548,6 +607,7 @@ DEPENDENCIES
simplecov-lcov
strong_migrations
uglifier (>= 1.3.0)
validate_url
validates_email_format_of (>= 1.5.1)
vendorer
webmock
Expand Down
Loading