Jess Lee
1b0cb47916
Merge user and give pro users trusted role ( #2176 )
...
* remove pro privelges from other roles and add trusted role for pros
* add merge user routes and methods
* add specs
* add more specs
* update languauge on /internal for clarity
* fix code climate error
2019-03-22 16:20:31 -04:00
Jess Lee
9c1e10cd9f
Improve Internal Dashboards features( #2043 )
2019-03-18 16:29:11 -04:00
Dmitrii Krasnov
9375d2436f
Fix articles feed not filtering articles by user/organization ( #1941 )
...
* Fix articles feed not filtering articles by user/organization
fix #1940
* add specs for articles fetching in articles#feed controller action
2019-03-02 07:48:55 -08:00
Mac Siri
1137d6fba4
Improve specs ( #1693 )
...
* Lock erb_lint
* Refactor moderation spec
* Remove & replace RequestSpecHelper
* Update uid to sequence
* Lower the need for persistence in specs
* Update moderation spec
* Update shoulda-matchers
* Enable backgroundjobs and update commenct spec
* Fix fail specs
* Update comment's validations
* Remove redundent specs
* Actually turn off DJ
* Apply run_background_jobs_immediately
* Remove giveawy specs
* Create Identity spec
2019-02-04 15:56:00 -04:00
Jess Lee
0eb5402926
Delete User Functionality ( #1615 )
...
* add full delete route and update banisher
* add user deletion spec
* enhance styling
* remove availability if banned from mentorship
* add specs
* do not show banned mentors
* delete addiional associations
* include more associations for deletion
* simplify activity deletion wtih delete_all
2019-01-23 16:57:32 -05:00
Mac Siri
11684331d4
Silence Delayed::Workers in spec [ci skip]
2019-01-10 16:33:58 -05:00
Jess Lee
5e4508ebe1
Remove callbacks from banisher + specs! ( #1501 )
...
* wip remove callbacks from banisher
* remove pry
2019-01-09 15:12:38 -05:00
Ashwin Vaswani
fbdd80d5fc
Add headings to header tags ( #1003 )
...
* updating all headers to have h* tags, or changing elements
* Remove commented out binding.pry
* Remove unused page
* Use article instead of div for consistency
* Update snapshot with new section tag
* Use h4 tags again for new views
2018-12-19 16:47:44 -05:00
Jess Lee
f96bc7c6f3
Revert banisher ( #1274 )
...
* remove stalebot from milestone issues
* simplify banisher
2018-12-06 13:44:53 -05:00
Jess Lee
e36cf51a9e
Refine Banish User ( #1168 )
...
* add banish user test
* refactor banish user wip
* banish user wip - bust comment cache synchronously
* add more spec scenarios
* Update Banish#strip_user_profile
* Refactor specs
2018-11-21 16:55:26 -05:00
Mac Siri
dd5a22dc80
Create UserPolicy ( #480 )
...
* Fix lint
* Create User#settings_tab_list
* Remove UsersController#finish_signup
* Remove UsersController#index
* Create UserPolicy WIP
* Replace UsersController's spec with request spec
* Fix broken specs
* Fix broken specs
* Remove comment
* Upgrade UserPolicy
* Fix specs
2018-06-22 20:40:08 -04:00
Mac Siri
ff36271108
Improve ArticlesController's authorization ( #466 )
...
* Fix lint
* Add pundit-matchers gem
* Strengthen ArticlePolicy & create spec
* Change ApplicationPolicy to a closed system
* Globally handle pundit's NotAuthorizedError
* Fix lint
* Adjust /new's authorization
2018-06-21 14:18:32 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00