Ben Halpern
71a419e5ee
Add profile_updated_at and github_repos_updated_at to avoid extra fet… ( #1754 )
...
* Add profile_updated_at and github_repos_updated_at to avoid extra fetches
* Fix variant_number issue
* Fix test
2019-02-06 20:39:15 -04:00
Ben Halpern
7d6c85a294
RSS feed optimizations ( #1752 )
...
* RSS feed optimizations
* Update app/views/articles/feed.rss.builder
Co-Authored-By: benhalpern <bendhalpern@gmail.com>
* Update app/controllers/articles_controller.rb
* Update app/controllers/articles_controller.rb
2019-02-06 20:31:58 -04:00
Peter Frank
9c0bfd6cd0
Update DigitalOcean ( #1753 )
...
- Updated DigitalOcean tagline/link
- On homepage and sponsors page
2019-02-06 19:12:53 -04:00
Peter Frank
da968cef43
Update terms with content policy ( #1751 )
...
- Added new "Content Policy" language
2019-02-06 19:12:29 -04:00
Ben Halpern
2d97a5d837
Improve performance for additional content boxes and tags index ( #1750 )
...
* Improve performance for additional content boxes and tags index
* Modify followed_articles endpoint with new classic article api
2019-02-06 16:50:35 -04:00
Ali GOREN
b9279033a4
The issue 'Styling of Edit Post button on your own post' fixed. Close… ( #1749 )
...
* The issue 'Styling of Edit Post button on your own post' fixed. Closed #1740
* I changed margin top to 4 and media screens's max-width value change as 376px
2019-02-06 16:18:33 -04:00
Jess Lee
009001272a
Allow dashboard view for admins and update permissions in internal/users ( #1742 )
...
* allow admins to see dashboards
* add more info to internal users
* add more info to internal users
* add video permission toggle
* specify banished user traits
2019-02-06 13:24:42 -04:00
Glenn Carremans
1793956bdb
Added 3 year anniversary badge ( #1732 )
...
* Added 3 year anniversary badge
* Fix linting error
2019-02-06 11:29:30 -04:00
Jess Lee
54426ea20b
Enhance Internal Index Pages ( #1747 )
...
* add more info to internal users index
* create tag show page and add tag moderation form
* fix linting
* add tag index view and alias field
* add pagination to tag index
* fix spec
2019-02-06 10:25:19 -04:00
rhymes
ecad47eb3c
Add title to badge images ( #1738 )
2019-02-05 15:16:15 -05:00
Joao Chitas
0888b9df1f
Updated gist regex to match the urls from medium. ( #1735 )
2019-02-04 17:20:24 -04: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
Andrew Bone
9e4d9ecac1
Additional --theme-container-color ( #1731 )
...
* Additional --theme-container-color
Missed in initial pass
* Additional --theme-container-color
Missed in initial pass
* Additional --theme-container-color
Missed in initial pass
* Additional --theme-container-color
Missed in initial pass
2019-02-04 14:25:49 -04:00
Ben Halpern
152f4a52ea
Remove unnecessary queries ( #1717 )
...
* filter unnecessary queries
* Adjust article query in a couple places
* Replace tagged_with in main tag query
* Cache_tagged_with additional queries
* Modify test
* Modify cached_tagged_with to account for single tags
* Add cached_tagged_with in a few more places
2019-02-02 21:40:34 -04:00
Ali GOREN
4e09a95dae
Fixes logn text doesn't wrap bug. #1710 ( #1715 )
2019-02-02 17:35:59 -04:00
Ben Halpern
522ac7a1f8
Add GoCD to sponsors ( #1709 )
...
* Add GoCD to sponsors
* Modify logo
2019-02-01 19:29:39 -04:00
Jess Lee
af2915b086
Fix Banisher Updates ( #1704 )
...
* delete activity before updating username
* fix linting
* remove unnecssary return
2019-02-01 17:10:17 -04:00
Andrew Bone
9e8fbff5df
Add --theme-container-color ( #1706 )
...
* Add --theme-container-color
Initial pass adding `--theme-container-color` for theming
* Add --theme-container-color
Initial pass adding `--theme-container-color` for theming
2019-02-01 12:29:31 -04:00
Jess Lee
d36418a62a
Clear profile cache on banish ( #1702 )
...
* save spam username as old username
* keep old username for reference
2019-01-31 15:38:01 -04:00
rhymes
aad0a3fc97
Fix bug where comment template is undefined instead of empty string ( #1700 )
...
Closes #1698
2019-01-31 08:24:42 -05:00
Ben Halpern
493e6fe796
Modify cache on home page ( #1695 )
2019-01-30 17:56:05 -05:00
Ben Halpern
be7fb2cdf0
Fix linting ( #1694 )
2019-01-30 16:01:23 -05:00
rhymes
f90815fc91
Activate eslint-plugin-jsx-a11y ( #1688 )
2019-01-30 15:15:25 -05:00
Greg Brimble
2eeb63ef21
Frontend Profile fields match backend maxlength ( #1691 )
2019-01-30 15:11:34 -05:00
Ben Halpern
d7665fcc3f
Add comment template to post ( #1692 )
...
* add myself to the core contributors
* add comment template
* merge upstream
* make sure the template re-appears for top level comments after submission
* make interface admin only
* Adjust comment template form
* Fix merge conflicts
* Remove unnecessary comment template from json
2019-01-30 13:32:34 -05:00
Mac Siri
2b779d15c6
Fix inconsistent specs ( #1674 )
...
* Force test colors in Travis
* Fix inconsistent analytic spec
* Fix local inconsistent specs
* Remove JS
* Remove JS from spec
2019-01-30 11:50:42 -05:00
Andy Zhao
21859700c2
Rename notification arguments ( #1684 )
...
* Add a comment about notifiable
* Rename argument from notifiable to comment
* Use badge_achievement as argument
* Use reaction instead of notifiable
* Use mention instead of notifiable
* Add a comment for context
* Use tag adjustment instead of notifiable
2019-01-30 11:47:49 -05:00
Ben Halpern
58c8c6a4b1
Modify cache key for article-sticky-nav-articles ( #1683 )
2019-01-29 15:19:04 -05:00
Jess Lee
d5b8454738
stop using active record method on a non-active record object ( #1676 )
2019-01-29 15:02:02 -05:00
Jess Lee
f50247f089
Fix conditional so super admins can ban older spammers ( #1651 )
...
* allow superadmins to band old spammers
* enhance flash notification and show all new users
* fix confirm dialog
2019-01-29 15:01:04 -05:00
Ben Halpern
7c7c39149c
Modify cache keys for well-trafficked views. ( #1681 )
...
* Add cache to sidebar sticky to make it stick longer
* Add last_article_at and last_comment_at
* Clean up schema.rb
2019-01-29 13:27:22 -05:00
Ben Halpern
043a21494c
Modify sidebar cache ( #1675 )
2019-01-29 11:52:44 -05:00
Andy Zhao
f5f206e40e
Render codespans properly in markdown ( #1678 )
...
* Explain test properly
* Add tests for codespan parsing
* Add codespan parsing logic
2019-01-29 11:52:18 -05:00
Anna Buianova
4073b869d6
Add erb_lint ( #1657 ) [ci skip]
2019-01-29 11:47:32 -05:00
Juan Manuel Ramallo
49c9b5bc87
[Emojis in Markdown] ( #1653 )
...
- Adds the ability to add emojis using colons 😂 🎉
- The emoji conversion is added to the markdown parser labor
- When no emoji is found with the alias, same text is returned
- No assets added (no emoji images), so this will only be supported when the browser supports emojis (https://blog.getemoji.com/post/57054354336/which-browsers-support-emoji )
- Emoji conversion logic is out of markdown parser labor
- Adds its own spec
2019-01-28 16:28:59 -05:00
Ben Halpern
ea63374408
Add below-article html variant ( #1669 )
...
* Add below-article html variant
* Fix tests for variant number
* Fix stories show tests for html_variants
2019-01-28 14:31:43 -05:00
Ben Halpern
1cdbfe3af1
Remove hardcoded values in streak reward ( #1671 )
2019-01-28 14:14:45 -05:00
Ben Halpern
561882d9d5
Add writing streak badge rewarding algorithm ( #1670 )
...
* Add 4 week streak badge rewarding algorithm
* Modify badge message
* Fix typo
2019-01-28 13:46:00 -05:00
Mario See
1404f0da5e
adjust width calculations ( #1652 )
2019-01-26 13:08:32 -05:00
Andrew Bone
613d3d49c3
Coding style consistency (stackblitz liquid tag) ( #1649 )
...
* Style consistancy
Make style more consistent with other liquid tags
* Style consistency
Make style more consistent with other liquid tags
* Style consistency
Make style more consistent with other liquid tags
* rubocop compliance
* rubocop compliance
2019-01-25 12:03:01 -05:00
Andrew Bone
5f5beabcab
Make initializeUserSidebar shorter ( #1640 )
...
Make initializeUserSidebar() shorter to meet codeclimate requirements.
2019-01-24 18:42:19 -05:00
Ben Halpern
049a7b7b73
Fix article taken redirect issue ( #1645 )
2019-01-24 18:16:35 -05:00
Ben Halpern
5b77b779a3
Comment muting tweaks ( #1646 )
2019-01-24 18:16:13 -05:00
Andy Zhao
c4677071a7
Mute notifications for a comment thread ( #1636 )
...
* Use idempotent update instead of toggle
* Update editor guide with new comment instructions
* Render the settings button on page load
* Add settings button to comment dropdown
* Update styles to properly render
* Add comment mute function and settings page
* Clean up erb spacing
* Remove unneccessary user_id param
* Add receive_notifications for policy spec
* Update name for accuracy
* Add request spec for comments_mute
* Remove unused permitted attributes
* Add actually used permitted attributes
2019-01-24 17:20:38 -05:00
Jess Lee
9d72091f42
add mailchimp unsub when deleting or banishing user ( #1644 )
2019-01-24 16:14:10 -05:00
Ben Halpern
a0d90874a9
Move org admin privilege check into controller ( #1642 )
2019-01-24 13:35:39 -05:00
Ben Halpern
ea2eead9e3
Remove unnecessary save from follows controller ( #1638 )
2019-01-23 17:58:05 -05:00
Ben Halpern
2e667d0810
Lower number of comments showing on first page of article show ( #1637 )
2019-01-23 17:57:51 -05: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
Vinicius Stock
ec2ce5d6e6
Upgrade rubocop and fix offenses ( #1635 )
2019-01-23 16:12:03 -05:00