Commit graph

506 commits

Author SHA1 Message Date
Glenn Carremans
6e31738612 Fix linting issues in app/views/devise (#1858) [ci skip] 2019-02-25 13:13:25 -05:00
Glenn Carremans
d9ee35a421 Fix linting issues in app/views/comments (#1853) [ci skip] 2019-02-25 13:03:31 -05:00
Glenn Carremans
6fdcc9eb26 Fix linting issues in app/views/email_subscriptions (#1859) [ci skip] 2019-02-25 12:50:41 -05:00
Glenn Carremans
40a808467d Fix linting issues in app/views/feedback_messages (#1861) 2019-02-25 12:50:10 -05:00
Glenn Carremans
3e3e18d827 Fix linting issues in app/views/chat_channels (#1852) [ci skip] 2019-02-25 12:49:00 -05:00
Glenn Carremans
35845258dd Fix linting issues in app/views/blocks (#1851) [ci skip] 2019-02-25 12:47:32 -05:00
Glenn Carremans
c0c95d7e1a Fix linting issues in app/views/badges (#1850) [ci skip] 2019-02-25 12:42:16 -05:00
Ben Halpern
a36fb04d9e
Add Google Analytics to /badge (#1846) 2019-02-22 10:03:41 -08:00
Arnelle Balane
8c0966da57 Fix linting issues in views/additional_content_boxes (#1843)
* Fix linting issues in views/additional_content_boxes

* Fix indentations for additional content boxes views
2019-02-22 07:29:05 -08:00
Molly Struve
981f4ed893 Include Article ID in Bottom Content Cache Key (#1773) 2019-02-21 15:13:07 -05:00
Mark Filus
298c32428f Fix typo on faq page (#1836) 2019-02-20 17:07:05 -05:00
Ben Halpern
20d1c8bab7
Add video to additional home feed context (#1815) 2019-02-17 15:57:25 -04:00
Anna Buianova
1cc0fccbf7 Reduce the number of sql queries for articles comments #1606 (#1766)
* Reduce the number of sql queries for articles comments

* Refactor comments tree display

* Refactor retrieving the comments tree

* Remove comments tree view object

* Update score in comments spec for consistent order
2019-02-16 18:14:15 -04: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
Glenn Carremans
91633206ee Implement GitHub PR liquid tag support (#1784) 2019-02-15 13:40:15 -05:00
Jess Lee
7b21a3a5db Invalidate cache when updating role (#1786) 2019-02-13 15:02:20 -05:00
Ali Spittel
09c82fe69e Prevent double article submission on v1 editor (#1791) 2019-02-13 12:10:54 -05:00
Niko Heikkilä
81c889bc78 Add 'rel=me' on Mastodon URL on profile (#1792) 2019-02-13 11:10:41 -05:00
Sean
1acd5b78ef Display tag moderators on tag page (#1739) 2019-02-12 14:58:31 -05:00
Phil Nash
d8de2b0d14 Use <web-share-wrapper> for article sharing (#1524) 2019-02-11 16:05:52 -05:00
Sean
693215bb08 Set default colors for organizations (#1764) 2019-02-08 12:46:33 -04:00
Ben Halpern
92b24a9978
Add html_variant split testing to /badge (#1763)
* Add /badge html_variant

* Fix some of the linting
2019-02-08 12:45:14 -04:00
Ben Halpern
7e9b7f2d8e
Fix profile cache issue (#1757) 2019-02-06 22:03:22 -04:00
Ben Halpern
4bff494adc
Ping comments to pre-warm new comment trees (#1755) 2019-02-06 21:45:24 -04:00
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
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
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
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
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
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
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
Ben Halpern
58c8c6a4b1
Modify cache key for article-sticky-nav-articles (#1683) 2019-01-29 15:19:04 -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
Anna Buianova
4073b869d6 Add erb_lint (#1657) [ci skip] 2019-01-29 11:47:32 -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
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
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
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
Jess Lee
d0b17f2a77 Adds internal/articles input to update author (#1628)
* adds input to change article author

* remove link

* remove unnecessary attribute
2019-01-23 11:58:11 -05:00