Andy Zhao
182a787ac4
Add OrganizationMembership model ( #2471 )
...
* Remove deprecated analytics role
* Make anchor tag a bit more readable
* Add OrganizationMembership table and model
* Add organization_membership associations
* Add unique indices for user_id and org_id
* Wrap update and create calls in transactions
* Remove specs of deprecated analytics_beta_tester
2019-04-22 14:08:02 -04:00
Andy Zhao
36a21cd0f2
Add tech admin role and allow tech admins to view /delayed_job ( #2343 )
...
* Add tech support role
* Add tech support permission method
* Enabled /delayed_job for tech support users
* Fix typo oops
* Add tests for tech support viewing /delayed_job
* Fix typo again...
* Rename tech role to tech admin
2019-04-08 18:00:59 -04:00
Keshav Biswa
8d57d45ecc
Rubocop Style cops enabled ( #2056 )
...
* Rubocop enabled style/alias
* Enabled Style/ArrayJoin Cop
* Enabled Style/Attr
* Enabled Case Equality
* Enabled CharacterLiteral
* Enabled ColonMethodCall Cop
* Enabled CommentAnnotation cop
* Enabled PreferredHashMethods Cop
* Enabled DoubleNegation Cop
* Enabled EachWithObject Cop
* Enabled EmptyLiteral Cop
* Enabled EvenOdd Cop
* Enabled IfWithSemicolon Cop
* Enabled Lambda and LambdaCall Cop
* Enabled LineEndConcatenation Cop
* Enabled ModuleFunction Cop;
* Enable NegatedIf and NegatedWhile Cop
* Enabled NilComparison Cop
* Enabled Not Cop
* Enabled NumericLiterals Cop
* Enabled OneLineConditional Cop
* Enabled PercentLiteralDelimiters Cop
* Excluded internal/users_controller from negated_if cop
* Reverted the double negation change from github_issue_tag and github_issue.rb"
* Enabled PerlBackrefs Cop
* Changed Regexp.last_match(1) to Regexp.last_match(0)
* Enabled proc cop
* Enabled RaiseArgs Cop
* Reverted Regexp.last_match(0) to Regexp.last_match(1)
* Enabled SelfAssignment Cop
* Enabled SingleLineMethods Cop
* Enabled SpecialGlobalVars Cop
* Enabled VariableInterpolation Cop
* Enabled WhenThen Cop
* Enabled WhileUntilModifier Cop
* Enabled WordArray Cop
* Enabled IfUnlessModifier Cop
* Enabled GuardClause Cop
2019-03-15 18:33:54 -04:00
Ben Halpern
8d0f0946a0
Basics of pro dashboard ( #1971 )
2019-03-04 12:10:09 -08:00
Ben Halpern
bce0b4fff6
Remove harsh video restriction and add video duration ( #1811 )
...
* Remove harsh video restriction and add video duration
* Fix video meta data and tests
* Modify video tests
* Rescue video duration fetch error
* Change log to puts in test
2019-02-16 17:42:44 -04:00
Maksim Litvinov
33db32e5f4
Fix rubocop lints ( #794 )
2018-10-03 13:00:09 -04:00
Jess Lee
4451e5eb38
Update User Dashboard With Mentorship Admin Features ( #440 )
...
* create mentor relationship table and begin dashboard
* add missing files from previous commit
* add mentorship relationship status
* remove uniqueness validation
* add multiple notes
* ban from mentorship deactives all relationships
* add untracked files
* fix logic issue and add specs
* add model specs
* add request specs
* add request specs and fix linting
* fix internal users spec
* remove phantom columns
* remove bizzaro character
* move all attr_accessor to one line
2018-09-11 15:59:25 -04:00
Andy Zhao
c888fd6faa
Add ability to prevent comment creation ( #554 )
2018-08-31 12:11:21 -04:00
Mac Siri
b4292ade33
Implement chatroom ( #308 )
...
* Fix multiple chat loading bug
* Open profile links in chat via new tab
* Add unmount handling for chat
* Add overscroll property to chat
* Add channel_name to ChatChannel model
* Create route and page for chatroom WIP
* Expose ChatChannel id to live page
* Implement multichannel support WIP
* Implement chatroom page WIP
* Add css for chatroom
* Update chat's moderation
* Refactor chat's message type
* Swap the use of :message_markdown & :message_html
* Add channel permissions WIP
* Fix failing specs
* Adjust json reponses
* Add empty message prevention
* Update participant error message
* Change Workshop channel to General
2018-05-14 12:50:32 -04:00
Ben Halpern
cd4d5e9fcb
Improve and finalize video upload ( #303 )
2018-05-10 11:57:39 -04: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
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00