Commit graph

1542 commits

Author SHA1 Message Date
Ben Halpern
4ac36bbeff
Change OP to AUTHOR (#1919)
* Change OP to AUTHOR

* Make lowercase
2019-02-27 08:57:04 -08:00
Mario See
ae484fbead add username to author info (#1912)
in both sticky nav on the side and about the author section at the end of the article
2019-02-27 08:25:47 -08:00
Alexander
a1b5dfbe89 Add test for validation badge image (#1909) [ci skip] 2019-02-27 10:45:13 -05:00
Ben Halpern
f36b869228
Adjust article ranking algorithm to use crossposted_at where available (#1917) 2019-02-27 07:41:52 -08:00
Anna Buianova
32b20c6d95 Remove unused Follow methods (#1915) [ci skip] 2019-02-27 10:38:30 -05:00
Glenn Carremans
323c6628ca Fix linting issues in app/views/dashboards (#1854) [ci skip] 2019-02-26 17:38:23 -05:00
Adarsh
38066a5b1a Add OP badge on comments (#461) 2019-02-26 17:11:09 -05:00
Mario See
b3c439c390 Fix settings/mentorship SyntaxError (#1913) 2019-02-26 17:04:03 -05:00
Arnelle Balane
48e4299436 Fix linting issues in app/views/users (#1908) 2019-02-26 13:38:49 -05:00
Arnelle Balane
9c6a7ed453 Fix linting issues in app/views/stripe_subscriptions (#1905) [ci skip] 2019-02-26 13:34:10 -05:00
Glenn Carremans
992e2a404d Fix linting issues in app/views/podcast_episodes (#1898) [ci skip] 2019-02-26 13:28:40 -05:00
Arnelle Balane
d332bfca44 Fix linting issues in app/views/moderations (#1900) [ci skip] 2019-02-26 13:17:01 -05:00
Arnelle Balane
9f34763175 Fix linting issues in app/views/reading_list_items (#1902) [ci skip] 2019-02-26 13:16:07 -05:00
Arnelle Balane
4b87de6c8b Fix linting issues for app/views/tags (#1906) [ci skip] 2019-02-26 13:14:15 -05:00
Glenn Carremans
657be683ce Fix linting issues in app/views/pages (#1897) 2019-02-26 13:09:54 -05:00
Arnelle Balane
e02d95470e Fix linting issues in app/views/social_previews (#1903) [ci skip] 2019-02-26 11:59:22 -05:00
Arnelle Balane
ba7644dd29 Fix linting issues for app/views/stories (#1904) [ci skip] 2019-02-26 11:58:14 -05:00
Arnelle Balane
c861fad573 Fix linting issues for app/views/html_variants (#1872) [ci skip] 2019-02-26 11:56:26 -05:00
Andy Zhao
1fc33cdd10 Add missing argument for reaction notification (#1901) 2019-02-26 09:14:31 -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
Ben Halpern
e5a2b25871
Add additional streak badge rewarding (#1896) 2019-02-25 15:37:16 -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
Anna Buianova
1c7b15c48a Disable useless assignment linting in views (#1886) [ci skip] 2019-02-25 13:48:13 -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
dependabot[bot]
93ce14abc9 Bump capybara from 3.12.0 to 3.13.2 (#1876)
Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.12.0 to 3.13.2.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.12.0...3.13.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 12:12:41 -05:00
dependabot[bot]
eabcb6b1b1 Bump algoliasearch-rails from 1.20.6 to 1.21.0 (#1874) [ci skip]
Bumps [algoliasearch-rails](https://github.com/algolia/algoliasearch-rails) from 1.20.6 to 1.21.0.
- [Release notes](https://github.com/algolia/algoliasearch-rails/releases)
- [Changelog](https://github.com/algolia/algoliasearch-rails/blob/master/ChangeLog)
- [Commits](https://github.com/algolia/algoliasearch-rails/compare/1.20.6...1.21.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 12:04:44 -05:00
dependabot[bot]
62200a66b4 Bump codemirror from 5.43.0 to 5.44.0 (#1877) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.43.0 to 5.44.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.43.0...5.44.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:47:18 -05:00
dependabot[bot]
5f12204cfd Bump airbrake from 7.4.0 to 8.1.4 (#1878) [ci skip]
Bumps [airbrake](https://github.com/airbrake/airbrake) from 7.4.0 to 8.1.4.
- [Release notes](https://github.com/airbrake/airbrake/releases)
- [Changelog](https://github.com/airbrake/airbrake/blob/master/CHANGELOG.md)
- [Commits](https://github.com/airbrake/airbrake/compare/v7.4.0...v8.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:22:00 -05:00
dependabot[bot]
208b1f46a6 Bump marked from 0.6.0 to 0.6.1 (#1875) [ci skip]
Bumps [marked](https://github.com/markedjs/marked) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.6.0...v0.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:18:24 -05:00
dependabot[bot]
56f1f3644a Bump eslint from 5.14.0 to 5.14.1 (#1879) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.14.0 to 5.14.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.14.0...v5.14.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:17:28 -05:00
dependabot[bot]
9596b86e5b Bump pry-byebug from 3.6.0 to 3.7.0 (#1881) [ci skip]
Bumps [pry-byebug](https://github.com/deivid-rodriguez/pry-byebug) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/deivid-rodriguez/pry-byebug/releases)
- [Changelog](https://github.com/deivid-rodriguez/pry-byebug/blob/master/CHANGELOG.md)
- [Commits](https://github.com/deivid-rodriguez/pry-byebug/compare/v3.6.0...v3.7.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-25 11:16:16 -05:00
Anna Buianova
e45c61a308 Bust cache on article destroy instead of resave articles #1621 (#1801)
* Bust cache on article destroy instead of resave articles

* Change articles delayed job queue
2019-02-23 19:41:06 -08:00
Anna Buianova
58b2013377 Fix delayed job errors related to follows #1621 (#1835)
* Add delayed_job_web to dev environment for debugging

* Add specs for the current Follow callbacks implementation

* Move follower touching to ActiveJob

* Spec for the touch followers job

* Move Follow#create_chat_channel to ActiveJob and make the job safe

* Add ActiveJob to send email notifications about follows

* Enqueue SendEmailNotificationJob after the follow is created

* Specs to wnsure jobs are enqueued on Follow creation

* Make CreateChatChannelJob queue name more specific
2019-02-23 18:16:20 -08:00
Ben Halpern
a36fb04d9e
Add Google Analytics to /badge (#1846) 2019-02-22 10:03:41 -08:00