Commit graph

519 commits

Author SHA1 Message Date
Arnelle Balane
c861fad573 Fix linting issues for app/views/html_variants (#1872) [ci skip] 2019-02-26 11:56:26 -05:00
Ben Halpern
d9e1ab2caa
Fix typo in badge show page and fix unrelated badge missing word (#1899) 2019-02-25 16:06:27 -08:00
Andy Zhao
5ace9a5fc9 Organization Notifications (#1762)
* Add spec for org reaction notification

* Add organization_id to notifications

* Add validations for user and org IDs

* Move comment json_data out of loop

* Use actual column names instead

* Add organization filters

* Remove extra text-align

* Add organization filtering

* Refactor to reduce complexity

* Add receiver argument to handle orgs

* Add has_many notifications for orgs

* Add follow notifications for orgs

* Add comment notifications for orgs

* Rename some tests for specificity

* Add mark org notifications as read functionality

* Add radix to parseInt

* Define json_data outside of loop

* Notify org followers of a new post as well

* Move test to proper location

* Add test for aggregated method

* Make send org reaction notification more readable

* Test the rest of the notification model

* Refactor tag adjustment spec

* Fix extra html
2019-02-25 14:25:37 -08:00
Glenn Carremans
5b9b1fe263 Fix linting issues in app/views/notifications (#1894) [ci skip] 2019-02-25 16:58:47 -05:00
Glenn Carremans
957da7ccb6 Fix linting issues in app/views/organizations (#1895) 2019-02-25 16:31:58 -05:00
Arnelle Balane
710751e3b0 Fix linting issues in app/views/admin (#1871) [ci skip] 2019-02-25 16:12:15 -05:00
Arnelle Balane
622d7037b9 Fix linting issues in app/views/internal (#1882) [ci skip] 2019-02-25 15:19:08 -05:00
Arnelle Balane
fca93dea1d Fix linting issues for app/views/internal/articles (#1873) 2019-02-25 15:07:33 -05:00
Arnelle Balane
d06902461e Fix linting issues in app/views/mailers (#1889) [ci skip] 2019-02-25 15:00:34 -05:00
Arnelle Balane
75e8c43125 Fix linting issues in app/views/layouts (#1884) [ci skip] 2019-02-25 14:40:32 -05:00
Glenn Carremans
ac7b0328df Fix linting issues in app/views/fields (#1862) [ci skip] 2019-02-25 14:29:28 -05:00
Glenn Carremans
a3036954d4 Fix linting issues in app/views/giveaways (#1863) 2019-02-25 13:19:48 -05:00
Glenn Carremans
fe5529f115 Fix linting issues in app/views/events (#1860) [ci skip] 2019-02-25 13:16:36 -05:00
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