Commit graph

10 commits

Author SHA1 Message Date
Mac Siri
f810b9a778 Split up mailers (#260)
* Fix lint

* Split up mailers WIP

* Create spec for ScholarshipMailer

* Create spec for MembershipMailer

* Update to new mail classes

* Remove if/else development cases

* Fix lint
2018-05-01 18:12:26 -04:00
Andy Zhao
12adea7b83 Andy/misc/small adjustments (#208)
* Fix bad user_id error handling

* Remove spam user from index and remove old path
2018-04-13 19:09:02 -07:00
Andy Zhao
db4b7caa0e Andy/misc/add tests for tag edit (#205)
* Redirect non logged in users

* Explictly return true when successfully updated

* Add tests for edit and update actions for tags
2018-04-12 15:12:38 -07:00
Andy Zhao
073e5444ac Add tag moderation feature (#201)
* Fix edge case for tag admin update

* Change single quotes to double quotes

* Add MVP of tag edit page

* Update rubocop version

* Use actual hex colors since vars broke

* Add enabling tag moderators via admin panel

* Remove unused boolean and variables

* Add a description for scholars

* Remove unintended method

* Update auth to work correctly

* Update boolean properly
2018-04-11 15:16:49 -07:00
Andy Zhao
7c843ba354 Prevent Less than 1 day old accounts from Following Other Users (#159)
* Show empty array of users for potential spammers

* Use user columns for better accuracy and perf

* Use user instead of identity for flagging

* Fix boolean

* Add page skipping logic for young accounts

* Fix test and show team to follow for spammers

* Fix broken link

* Remove page skip logic for back button
2018-03-29 17:12:30 -04:00
Andy Zhao
a87cb4204c Improve spam moderation (#101)
* Add a missing bounty hunter

* Add a msg about updating social usernames

* Add mailto: link for yo@dev in terms

* Use render partial for help tag

* Scrub all user info for banish user button

* Silently prevent updating profile for banned users

* Add Slack alert for less than 1 week old accts

* Adjust oauth mock data for tests

* Remove line about signing in/out

* Change range to one week prior
2018-03-21 16:16:18 -04:00
Ben Halpern
3fd1232b7e
Fix API pagination issue (#97)
* Fix API pagination issue
2018-03-18 12:34:06 -04:00
Ben Halpern
a2413df6cc
Add ability to get all articles in username articles api (#90) 2018-03-16 17:18:30 -04:00
Andy Zhao
4d2af96d8d Fix a few org related issues and some other minor bugs (#74)
* Add CSRF tags to welcome index page

* Clean up auth service code a bit

* Add analytics role to approved org org_admins

* Add toggle links for org admins with no posts

* Fix wrong role name and add test

* Adjust validation for user fields

* Add test for user_role_service

* Fix confusing boolean
2018-03-15 11:39:53 -04:00
Mac Siri
301c6080e3 Initial commit 2018-02-28 16:11:08 -05:00