Andy Zhao
71157c993e
Hide comment feature ( #4944 )
...
* Add MVP of hide comment feature
* Slight copy adjustments
* Remove unused file oops
* Fix strange styling issues
* Add hide/unhide comment specs
* Authenticate user for hide/unhide
* Add tests for hide/unhide functionality
* Remove opacity CSS for hidden comments
* Fix hidden comment explanation logic
* Fix some styling issues
* Fix hiding top level comment logic
* Show only hidden comments in permalink and not thread
* Hide subtree properly if hidden comment
* Fix weird CSS issue
* Properly hide comments for permalink view
* Show children comments in permalink view
* Add tests for comment hiding visibility
* Remove superfluous code and adjust copy
* Remove some more logical duplication
* Add dedicated article column for any comments hidden
* Add reload in test
2019-12-10 15:09:47 -05:00
rhymes
1f97669e66
Credits ledger ( #3395 )
...
* Add #purchase to Credit
* Assigns spent credits to the listing
* Add Credits::Ledger and use it
* Localize ledger datetimes
* Add organization to the ledger
* Add tests for ledger
* Remove unused class
* Fix scope error
* Compare UTC times
* Fix broken specs
* Wrap listing create in a transaction
* Wrap listings bump into a transaction
* Avoid microseconds issue with datetimes in tests
* Use .detect instead of .select.first
* Fix spec description
2019-07-09 10:11:18 -04:00
Edison Yap
8ffe0f3de3
Bust cache for articles in series ( #3052 )
2019-07-08 17:28:27 -04:00
Ben Halpern
d48ad63aea
Add comment context for notifications and comment pages ( #3262 )
...
* Add comment context for notifications and comment pages
* Fix comment spec and adjust css
2019-06-22 14:50:15 -04:00
Mac Siri
6d1638ed68
Unskip all skipped specs ( #2941 )
...
* Change all login_as to sign_in
* Unskip comment spec
* Create new specs
* Turn on Webdriver caching
* Set logger for Omniauth in test
* Update editor system spec
* Fix editor approval file
* Update video_controller
* Update TagAdjustmentUpdateService's spec
* Update users api spec
* Update stories_index_spec
* Remove redundant spec file
* Remove residual code
* Change ClassifiedListing spec
* Update NotificationsIndex spec
2019-05-25 11:04:38 -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
Abraham Williams
9cb40e546b
Enables Rails cops ( #2186 )
...
* Enable Rails cops
* Fix Rails/DynamicFindBy
* Fix Rails/HttpStatus
* Fix Rails/Blank
* Fix Rails/RequestReferer
* Fix Rails/ActiveRecordAliases
* Fix Rails/FindBy
* Fix Rails/Presence
* Fix Rails/Delegate
* Fix Rails/Validation
* Fix Rails/PluralizationGrammar
* Fix Rails/Present
* Fix Rails/Output
* Fix Rails/Blank
* Fix Rails/FilePath
* Fix Rails/InverseOf
* Fix Rails/LexicallyScopedActionFilter
* Add Rails/OutputSafety to TODO
* Add Rails/HasManyOrHasOneDependent to TODO
* Add Rails/SkipsModelValidations to TODO
2019-03-25 09:25:55 -04:00
Andy Zhao
db9c16db4d
404 comments for unpublished posts ( #1013 )
2018-10-26 13:37:34 -04:00
rhymes
e588fa7ece
Code cleanups ( #659 )
...
* Initial automatic cleanup with rubocop
* Fix syntax error introduced by rubocop
* Cleanup seeds file
* Cleanup lib folder
* Exclude bin folder because it contains auto generated files
* Make Rubocop a little bit more chatty
* Block length should not include comments in the count
* Cleanup config folder
* Cleanup specs
* Updated Rubocop version and generated a todo file
* Fix broken ArticlesApi spec
* Fix tests
* Restored rubocop pre-commit hook
2018-08-07 11:00:13 -04:00
Andy Zhao
0785720908
Add comment policy and specs ( #475 )
...
* Fix edge case with apostrophes
* Add comment policy and specs
* Add login for deleting comment spec
* Change test to raise pundit error instead of 404
* Clean up comment destroy request specs
* Remove redundant raise
2018-06-21 17:20:34 -04:00
Mac Siri
4bc9020956
Implement comment preview feature ( #223 )
...
* Create #preview endpoint for CommentController
* Create comment preview button WIP
* Implement preview feature for reply comment W
* Style preview button CSS WIP
* Style preview button CSS WIP
* Tweak markdown toggle logic and add styling
* Update comment feature spec
* Add error handling for comment preview & fix lint
* Extract handleCommentPreview into it's own file
* Adjust functionality for comment preview [WIP]
* Modify comment preview functionality and CSS
* Adjust code style based on linter
2018-04-24 14:30:52 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00