Commit graph

1488 commits

Author SHA1 Message Date
Devin Howard c154716346 add mailboxer templates for overriding their style 2016-12-11 17:48:52 -05:00
Devin Howard 8267054d89 fugly integration of map mailers into mailboxer 2016-12-11 17:48:51 -05:00
Devin Howard 1d36ee03b2 send mailboxer notifications as emails if user doesn't have emails disabled 2016-12-11 17:48:51 -05:00
Devin Howard 99060abbfc add unsubscribe link to emails 2016-12-11 17:48:51 -05:00
Devin Howard 5698c3bad4 make unsubscribing work even if logged out 2016-12-11 17:48:51 -05:00
Devin Howard 4629ebf8f9 configurable field to unsubscribe from emails + link to do it yourself 2016-12-11 17:48:50 -05:00
Devin Howard 79634f8faf code climate fixes 2016-12-11 17:48:50 -05:00
Devin Howard 4e93b4fce6 back to mapping link shared view 2016-12-11 17:48:50 -05:00
Devin Howard 2b37f00960 add more styling to the notification pages 2016-12-11 17:48:49 -05:00
Devin Howard 2db803e496 notifications bar 2016-12-11 17:48:49 -05:00
Devin Howard 1e6d96fce2 notification dot for mobile 2016-12-11 17:48:49 -05:00
Devin Howard 93ad92f7e8 bell icon 2016-12-11 17:48:48 -05:00
Devin Howard 79a3059ca3 update css classes 2016-12-11 17:48:48 -05:00
Devin Howard 11bbcb242f red dot if there are unread notifications 2016-12-11 17:48:48 -05:00
Devin Howard dbcd64bfe9 styling on you 2016-12-11 17:48:48 -05:00
Devin Howard 46c563afb2 start integrating notifications into account menu 2016-12-11 17:48:47 -05:00
Devin Howard dcb70e86e2 ability to mark as read/unread 2016-12-11 17:48:47 -05:00
Devin Howard 7dd37c50d3 notifications index/show 2016-12-11 17:48:47 -05:00
Devin Howard 3c1d163984 install mailboxer gem to db + user model 2016-12-11 17:48:46 -05:00
Connor Turland a133702be2 Some topics and synapses were hidden from users erroneously (#944)
* ensure topics and synapses have their permission match the map they're deferring to

* update permission of topics and synapses as map perm changes, when defer_to_map

* try enabling count threshold on rubocop

* remove unused mk_permission functions

* change *_count methods to use delegate to save lines in map.rb model

* rubocop topic.rb
2016-12-06 16:46:46 -05:00
Devin Howard d2074ada79 fix policy scope errors in search controller (#947) 2016-12-06 13:09:42 -05:00
Devin Howard 01cd624bfa add polyfill so chrome 49 can upload map thumbnail screenshots (#946) 2016-12-06 12:36:06 -05:00
Connor Turland a5f793fe54 fixup topic card template 2016-12-02 21:21:37 +00:00
Devin Howard d1aa62d382 fix policy scope error (#941) 2016-11-30 11:46:09 -05:00
Devin Howard 4da3a9d55f hide mobile menu if browser is resized to full size (#937) 2016-11-28 13:53:29 -05:00
Devin Howard 95b8b52224 fix NoMethodError in topics#autocomplete_topic (#930) 2016-11-24 14:16:58 -05:00
Devin Howard 55853c60f4 update user model with fixes, including style and recentMetacodes algorithm (#922) 2016-11-13 14:29:07 -08:00
Devin Howard 51d5d77629 Merge pull request #929 from metamaps/fix/develop-bugs
fix some develop bugs, merge master, and move realtime port to .env
2016-11-09 21:14:48 -05:00
Devin Howard ce2d462578 fix bugs on develop branch 2016-11-09 20:44:00 -05:00
Devin Howard 4533a0f2fe merge changes from metamapscc instance branch (#913)
* homepage video fallback

* public/50x.html

* remove blog from public/ html pages

* remove video file since it's on metamaps.cc server

* eslint
2016-11-09 09:34:10 -05:00
Devin Howard 5851d57eef Merge branch 'master' into develop 2016-11-09 09:29:30 -05:00
Devin Howard 3759851621 fix access#access route (#926) 2016-11-08 09:37:06 -08:00
Devin Howard 9df974a037 strip whitespace from search terms (#919) 2016-11-07 14:58:53 -05:00
Devin Howard 2f4fe525ce Fix a bunch of errors and style issues 2016-11-07 14:55:20 -05:00
Devin Howard 518782e1c7 remove Metamaps.Erb 2016-11-07 14:55:20 -05:00
Devin Howard 7c9b6a2205 try to move all rails data into Metamaps.ServerData
Metamaps.Erb and currentPage and currentSection are still not in; should they be?
2016-11-07 14:55:20 -05:00
Devin Howard 8026969799 start storing data in ServerData 2016-11-07 14:55:17 -05:00
Devin Howard 4b500a4428 move Metamaps.Loading into node modules 2016-11-07 14:40:43 -05:00
Connor Turland 0f85abfda2 add channel to webhooks (#915) 2016-11-05 09:34:50 -07:00
Connor Turland 48b93b2269 change grant to allow. fixes #909 (#910) 2016-11-04 13:22:06 -07:00
Devin Howard a9c67e70d4 move webhook and event serializers back (#899) 2016-11-01 09:46:44 +08:00
Connor Turland b013499c76 misnamed variable errors out maps search (#893) 2016-10-31 16:41:37 -04:00
Devin Howard 814c1acc0f a few markdown style updates (#885)
* markdown block padding

* a few more markdown style updates
2016-10-31 15:38:16 +08:00
Devin Howard 62e2acdd52 add about lightbox again (#884)
* add about lightbox again

* fix about lightbox style
2016-10-31 15:38:09 +08:00
Devin Howard bc1f212c93 fix tab/shift-tab for metacode selection (#879) 2016-10-30 00:08:51 +08:00
Devin Howard 5e0e44b436 supercharge the schemas (#874)
* fix map schema - woot it works

* update other schemas to include embeddable attrs

* update current user schema/examples
2016-10-29 22:58:31 +08:00
Devin Howard 1fbfd56d57 filter maps by user_id in api (#872)
* filter maps by user_id in api

* test user_id map filter

* update starred maps example to make starred true lol

* add user id to map schema/examples
2016-10-29 22:07:27 +08:00
Devin Howard a32f98bde2 to_json should be as_json or there's bugs (#870)
* to_json should be as_json or there's bugs

* revert explore controller, it's better without

* revert search controller and some topic methods
2016-10-29 18:28:29 +08:00
Devin Howard e49e5c258a make synapse permissions depend on topic1 and topic2 (#839)
* deep change to synapse policy - is this ok?

* make synapse policy resilient to nil topic1/topic2/map

* use a transaction to handle authorization vs invalid record in synapse controller

* more synapse controller tests

* inline documentation

* fix policy(Synapse).create?
2016-10-28 11:03:59 +08:00
Devin Howard 4dc32d7d2e fix metacodes page scrolling (#862)
* fix metacodes page scrolling

use scheme from
http://brandonhilkert.com/blog/page-specific-javascript-in-rails/

* switch overflow:hidden to be on explicit controllers
2016-10-28 10:55:04 +08:00