Ben Halpern
ec6d66018f
Add some html to internal articles and new internal view ( #4636 )
...
* Add some html to internal articles and new internal view
* Add check for article existence for buffer updates
* Change arrays to unions
2019-10-28 19:09:24 -04:00
Branko Arnaudovski
efbb108061
Implement Moderators audit logs ( #3449 )
2019-10-23 10:30:45 -04:00
Mac Siri
d976eb7ab6
Create InternalPolicy ( #4380 )
...
* Ensure verify_authorized in internal
* Create internal_policy
* Replace ArticlePolicy usage with InternalPolicy
* Replace BufferUpdate&CommentPolicy with InternalPolicy
* Remove verbose authorize_admin
* Forgot to remove coresponding specs
* Create specs for InternalPolicy
* Expand policy access on internal's broadcast
* Refactor
* Create shared spec
* Create request specs
* Add additional test cases
2019-10-17 14:21:43 -04:00
rhymes
232bc48e3e
Fix eager loadings ( #4365 )
2019-10-17 14:08:31 -04:00
Mac Siri
56bdf6f846
Create scoped policy for internal/comment ( #4311 )
2019-10-08 12:33:59 -04:00
Mac Siri
465a676d75
Adjust BufferUpdatesController's authorization ( #4070 )
...
* Add back validation and add test
* Move article_admin?
* Adjust Buffer policy
* Create buffer_update_policy_spec
2019-09-20 11:50:34 -07:00
Jess Lee
ff135c7839
Give interns access to internal articles ( #4016 )
...
* add intern role and update policies
* update admin policy spec for rubocop
* add article poolicy spec
* fix spec
* switch to scoped admin role
* Finalize single resource admin
* Adjust buffer permissions
2019-09-19 11:35:49 -07:00
Mario See
01a60b1ee9
Internal Listings: Filter by Category ( #3993 )
...
* add select tag and category param
* change filter from onchange to submit
* change options list to call from set list
2019-09-11 19:27:39 -04:00
Anna Buianova
8d4991f906
Show webhooks list in internal ( #3997 )
2019-09-10 09:43:21 -04:00
Jacob Herrington
59e7c104f2
Remove commented code and tests ( #3989 ) [ci skip]
2019-09-09 14:51:02 -04:00
Ben Halpern
81bff4da35
Fix internal mods interactivity and improve layout ( #3879 )
2019-08-29 19:00:22 -04:00
Ben Halpern
917bc14eae
Update mod internal backend to be safer and more intuitive ( #3869 )
2019-08-28 23:26:32 -04:00
Ben Halpern
9259a70ab8
Modify onboarding slides ( #3864 )
2019-08-28 11:05:57 -04:00
Ben Halpern
b09fa26efa
Fix up a couple mods backend things ( #3861 )
2019-08-28 08:09:29 -04:00
Ben Halpern
208bbb3757
Improve mod roundrobin notification and internal tooling ( #3855 )
...
* Improve mod roundrobin notification and internal tooling
* Fix tests
2019-08-27 21:54:09 -04:00
Feruz Oripov
0ccc62ffa3
Refactoring possible unprotected redirect. ( #3825 )
...
* Refactoring possible unprotected redirect.
* Security refactoring tag_adjustments_controller.rb.
* Security refactoring tag_adjustments_controller.rb.
* Security refactoring articles_controller.rb.
* Security refactoring internal/welcome_controller.rb
* Security refactoring tags_controller.rb.
* Security refactoring comments_controller.rb.
* Security refactoring stories_controller.rb.
2019-08-27 10:13:38 -04:00
Ben Halpern
76bedc6b23
Add onboarding variants and update variant display ratio ( #3812 )
2019-08-23 12:48:29 -04:00
Mladen Ilić
50fe104ee7
Fix typo ( #3789 )
...
Fix a typo in flash message
2019-08-22 12:51:05 -04:00
Ben Halpern
8b4dc85ee4
Add internal dashboard for growth ( #3749 )
2019-08-19 09:41:04 -04:00
Andy Zhao
96449fcc8f
Add organization membership functionality to internal ( #3541 )
2019-07-31 14:38:36 -04:00
Anna Buianova
3de1bdad02
Podcast ownership ( #3546 )
...
* Podcast#admins
* Start with /internal/podcasts
* Adding and removing podcast admin roles
* Improve podcasts internal section
* Fix podcast updating
* More internal podcasts specs
* Podcasts internal link
2019-07-29 08:32:49 -04:00
Kitten King
6290451273
Fix Typos ( #3510 )
2019-07-22 12:56:48 -04:00
Ben Halpern
a8ef9663a4
Add internal page for spinning up group chats (and make jokes flare tag) ( #3384 )
2019-07-09 13:04:58 -04:00
Andy Zhao
22e76bee84
Add functionality to remove and recover identity ( #3377 )
...
* Lint some quotation marks
* Add BackupData table
* Add identity and removal functionality
* Test additional functionality
* Remove dependent destroy for backup data
* Add auth_data_dump column
* Add challenge to reserved words
* Add more shoulda matchers
2019-07-03 12:01:16 -04:00
Andy Zhao
2b5a1c83a2
Allow full links for cache buster tool ( #3378 )
2019-07-03 10:32:27 -04:00
Andy Zhao
f8989ea9b2
Add GET /internal/tags/:id route back in ( #3327 )
...
* Add GET internal/tags/:id route
* Remove unused edit route
2019-06-28 08:13:03 -04:00
Andy Zhao
0633ba1f72
Fix org credits in internal view ( #3321 )
2019-06-28 07:56:09 -04:00
rhymes
91de529705
Remove code for legacy mentoring feature ( #3186 )
2019-06-21 17:18:11 -04:00
Jess Lee
464d37310e
add buffered checkbox to individual articles ( #3238 )
2019-06-20 09:34:03 -04:00
Ben Halpern
456931f208
Further generalize pages and site Twitter handle ( #3177 )
...
* Further generalize pages and site Twitter handle
* Add footer mod change
* Remove giveaways dead code
2019-06-16 00:59:11 -04:00
Jess Lee
c81bc8e66f
Clean up internal and add admin tool for cache busting ( #3166 )
...
* remove members internal page
* add manual cache busting form
* add missing files
2019-06-14 19:52:16 -04:00
Jess Lee
10674aed72
Buffer Listings ( #2956 )
...
* add share to buffer button
* wip
* wip
* adds listings to buffer via form
* create migration for buffered timestamp and update seed file
* display when listing was last buffered
* remove annoying spacing
* refactor article script for listings
* social preview wip
* add custom social card for indivdual listings
* add styling
* fix css
* tweak styling
* final css tweaks
* fix branch
* add buffer listings id
* update envfile
* add social previews spec
2019-06-14 19:33:19 -04:00
rhymes
c42c28ae59
Performance: save some queries when pluck is not needed ( #3160 )
2019-06-14 14:56:33 -04:00
Ben Halpern
b731df44ca
Add badges to key tags ( #3074 )
...
* Add badges to key tags
* Adjust vertical-align
* Fix YouTube tag mistake and refactor map to pluck
2019-06-07 19:09:43 -04:00
Jess Lee
5ca069f93f
Fix listings cache/indexing and add bumping feature to internal ( #3053 )
...
* wip utilize concerns
* wip concerns
* refactor listings update
2019-06-06 09:51:32 -04:00
Jess Lee
8765de85b4
Sort internal/listings by recently bumped listings ( #2938 )
2019-05-22 15:28:03 -04:00
Jess Lee
65e3cf605c
Internal Listings View Enhancement ( #2931 )
...
* wip
* add username to listings list view
* add pagination
* small style adjustment on edit page
* add has_many relationship to users and orgs
* add search by username or listing title
2019-05-21 18:28:18 -04:00
Jess Lee
1678489a2b
Internal Updates - Bust Cache for Listings and Add Note for Credits ( #2908 )
...
* handle cache busting
* add required note when removing or adding credits
* only reindex if listing is published
2019-05-21 17:25:37 -04:00
rhymes
ff929fcf14
Some small performance improvements ( #2876 )
...
* Improve a few idioms with their faster counterparts
* Remove unused routes and some dead code
* Add the option to use bullet in testing mode and move rack host redirect
* Go back to the classic fetch to make mocking work
* Reorder gems and fix code climate issue
2019-05-20 18:53:31 -04:00
Jess Lee
486275cbbb
Implement ghostify ( #2773 )
2019-05-14 16:50:14 -04:00
Andy Zhao
aadc775ffd
Add listings to /internal pages ( #2725 )
...
* Add routes for listings in internal
* Add internal listings controller and views
2019-05-06 18:16:23 -04:00
Jess Lee
393acc3ab3
Manage org credits in internal ( #2686 )
...
* manage org credits in internal
* reduce cognitive complexity in a method
2019-05-04 10:47:13 -04:00
Jess Lee
ae228cfe1f
add method to award and remove credits ( #2681 )
2019-05-03 13:56:39 -04:00
Ben Halpern
5891b2ea58
Add application "page" model ( #2657 )
...
* Generate page model
* Add page model
* Conditionally modify html rendering
2019-05-02 18:24:06 -04:00
Jess Lee
011e734ee0
Allow admins to remove credits from internal/users ( #2635 )
2019-05-01 12:49:42 -04:00
Jess Lee
0383873070
Add credit form to internal/users ( #2581 )
...
* add credit form to internal users
* add missing file whoooops
2019-04-26 12:48:00 -04:00
rhymes
5782ffd7e0
Use published scope for articles ( #2374 )
...
* Use published scope for articles
* Fix variable name
* The sequencing in the union query matters
* Fix spec
* Restore a published: true condition
* This test is actually misleading due to the union
* Revert this change, not sure why it's not a relation
* Fix useless diff
2019-04-11 13:18:26 -04:00
Jess Lee
f637d9e02b
Manage tag and community mod lists in Mailchimp ( #2362 )
...
* add moderation email list columns
* automate tag moderator mailing list
* reorder logic for tag mod list
* add community mod list
* remove trusted privileges when reverting a user to a regular member
* automatically make tag mods community mods
* fix merge conflicts
* add community view
* make methods less complex based on code climate sugggestion
* add specs
* refactor tag moderator module
* fix spec
2019-04-10 14:45:06 -04:00
cyrillefr
4fd66372dc
Enable Layout/AlignParameters ( #2340 )
...
Check if the parameters on a multi-line method call or definition are aligned.
Resolves : #2021
2019-04-08 18:47:34 -04:00
Ben Halpern
5f3fd96960
Modify social share button and functionality ( #2316 )
...
* Modify social share button and functionality
* Some nightmode changes tossed in
* Style adjustments and test snapshot fix
2019-04-06 14:49:52 -04:00