Commit graph

1076 commits

Author SHA1 Message Date
Ben Halpern
759d7540a7
Add guard to stop negative notifications (#1200) 2018-11-26 12:34:38 -05:00
Phil Nash
0df793a6fe Adds rel='me' to profile links. (#1183)
rel='me' is used on hyperlinks from one page about a person to other pages about that same person. (http://microformats.org/wiki/rel-me)

rel='me' is supported on other social sites, such as Twitter and GitHub. Thought it might have a place here on DEV too.
2018-11-26 10:53:18 -05:00
Anna Buyanova
c1eb30e02a Make less sql queries when loading comments (#1197) 2018-11-26 10:51:38 -05:00
Ben Halpern
73b1616bb5
Fix notification pagination reaction issue (#1181) 2018-11-22 12:48:54 -05:00
Ben Halpern
031a3bd751
Fix parsing error in header tags. (#1180)
* Strip HTML from anchor link in header names

* Skip one test which is not passing for unknown reasons
2018-11-22 12:48:46 -05:00
Ben Halpern
3b94e1d1a6
Quick notifications fix (#1179) 2018-11-22 11:40:05 -05:00
Ben Halpern
eccee11106
Initial basic paginionation-ish for notifications (#1175) 2018-11-21 20:03:56 -05:00
Jess Lee
e36cf51a9e Refine Banish User (#1168)
* add banish user test

* refactor banish user wip

* banish user wip - bust comment cache synchronously

* add more spec scenarios

* Update Banish#strip_user_profile

* Refactor specs
2018-11-21 16:55:26 -05:00
Ben Halpern
b34ee48c1f
Fix hanging /connect notification issue (#1174)
* Adjust channel opened check to mitigate race conditions maybe

* Add fix to jump user straight to apporpriate unopened channel
2018-11-21 12:08:09 -05:00
rhymes
915e2d77b6 Export articles/posts (#576)
* Add EditorConfig file for all editors

* Add article export service

* Add setting to request an export of all articles

* On the outside they are called posts

* Add articles exported email to mailer and service

* Refactor to one public method and test flags

* Trigger the export if it was requested and send the email

* Recreated migration file with generic export fields

* Rename fields and switch to a whitelist

* Refactor ArticleExportService into a more generic structure

* Rename articles_exported_email to export_email

* Fix notify mailer spec

* Rename Exporter::Exporter to Exporter::Service

* Remove commented out line

* Removed body_html, coordinates and updated_at from export

* Invert DJ config

* Update spec
2018-11-21 11:13:36 -05:00
Ben Halpern
86c60307d2
Small notification update (#1169)
* Small notification update

* Rescue errors in notifications
2018-11-20 20:03:55 -05:00
Gabriel Lebec
1e2749be24 feat(markdown): add ids to headers (#713)
* feat(markdown): add anchors for headers

* Fix markdown anchors impl and spec

* Fixes tests for markdown anchors

* Use name for anchors instead of IDs

* Fix approval file

* Remove emojis in links and hyphenate only spaces
2018-11-20 18:17:07 -05:00
Ben Halpern
5ee5c931fc
Fix small details in notification results and add filtering (#1166)
* Fix small details in notification results and add filtering

* Adjust filter styling

* Fix filtering

* Add reaction render to comments
2018-11-20 18:00:11 -05:00
Ben Halpern
0e76bdcd33
Fix typo (#1165) 2018-11-20 15:27:08 -05:00
Ben Halpern
115e52c748
Move follow and reaction aggregation into Notification model to avoid… (#1164)
* Move follow and reaction aggregation into Notification model to avoid re-compute

* Ugh. Fixing schema

* Update tests

* Skip some tests in notifications_spec
2018-11-20 15:00:21 -05:00
Mac Siri
912b6e75f2 Remove focus [ci skip] 2018-11-20 11:12:18 -05:00
dependabot[bot]
ba25932627 Bump google-api-client from 0.24.3 to 0.25.0 (#1144)
Bumps [google-api-client](https://github.com/google/google-api-ruby-client) from 0.24.3 to 0.25.0.
- [Release notes](https://github.com/google/google-api-ruby-client/releases)
- [Changelog](https://github.com/googleapis/google-api-ruby-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/google-api-ruby-client/compare/0.24.3...0.25.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-20 10:53:43 -05:00
dependabot[bot]
69ef775f66 Bump test-prof from 0.7.2 to 0.7.3 (#1140) [ci skip]
Bumps [test-prof](https://github.com/palkan/test-prof) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/palkan/test-prof/releases)
- [Changelog](https://github.com/palkan/test-prof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palkan/test-prof/compare/v0.7.2...v0.7.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-20 10:50:27 -05:00
Móricz Gergő
79860ee1fa Added series front matter variable to the editor guide, (#1152) 2018-11-20 08:58:03 -05:00
Ben Halpern
b2d46fed65
Lessen amount of notifications queried slightly to improve performance (#1159)
* Lessen amount of notifications queried slightly to improve performance

* Guard for last_user_reaction
2018-11-19 20:36:35 -05:00
Andy Zhao
044de6a8b5 Make reads controller async and sanitize notification titles (#1158) 2018-11-19 19:33:00 -05:00
Andy Zhao
a1010201f2 Notifications part 2 (#1156)
* Remove stream and add new notification views

* Actually remove Stream

* Move followers query to async method

* Remove unused tests and fix query

* Try using without delay instead

* Add without delay and escape HTML

* Make all tests pending for now
2018-11-19 18:14:24 -05:00
Andy Zhao
2db2dd1e5a WIP Refactor/notifications (#1131)
* Add new columns to notifications table

* Remove stream from notifications and add new methods

* Turn off moderation comment notifications

* Add notifiable_type index to migration

* Stop creation of Stream-based notification model instances

* Add notification model create hooks

* Add badge achievement notification creation hook

* Fix some specs

* Add missing @ symbol

* Fix for tests and rename a few things

* forgot to uncomment code sigh
2018-11-19 16:09:02 -05:00
Mario See
faf1c6719b more testing for connect components (#1046)
* adding more tests

- covers article.jsx and elements created from its props and state
- added png as static file that needs stubbing

* video + channelDetails test coverage

* chat + channels tests

* channels cc refactor

* yarn install

* update snapshot and string spacing

* chat.jsx test

mostly tests rendering elements
- does not test imported components, as those are already tested separately
- does not imported functions from actions or utils as those will be tested separately as well

* cleaning up

- mocked response with flush promises for state/component to reflect appropriate changes

* snapshot updates
2018-11-19 15:07:54 -05:00
dependabot[bot]
dded7dc343 Bump fake_stripe from 0.1.0 to 0.2.0 (#1142) [ci skip]
Bumps [fake_stripe](https://github.com/thoughtbot/fake_stripe) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/thoughtbot/fake_stripe/releases)
- [Changelog](https://github.com/thoughtbot/fake_stripe/blob/master/CHANGELOG.md)
- [Commits](https://github.com/thoughtbot/fake_stripe/compare/v0.1.0...v0.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-19 12:41:56 -05:00
dependabot[bot]
7f61b2e2fe Bump lint-staged from 8.0.4 to 8.0.5 (#1146) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.0.4 to 8.0.5.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.0.4...v8.0.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-19 12:40:14 -05:00
dependabot[bot]
d530510e93 Bump eslint-plugin-babel from 5.2.1 to 5.3.0 (#1145) [ci skip]
Bumps [eslint-plugin-babel](https://github.com/babel/eslint-plugin-babel) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/babel/eslint-plugin-babel/releases)
- [Commits](https://github.com/babel/eslint-plugin-babel/compare/v5.2.1...v5.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-19 12:39:08 -05:00
dependabot[bot]
a4ce3e31ea Bump husky from 1.1.3 to 1.1.4 (#1147) [ci skip]
Bumps [husky](https://github.com/typicode/husky) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.1.3...v1.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-19 12:38:29 -05:00
dependabot[bot]
ed368829aa Bump guard from 2.14.2 to 2.15.0 (#1143) [ci skip]
Bumps [guard](https://github.com/guard/guard) from 2.14.2 to 2.15.0.
- [Release notes](https://github.com/guard/guard/releases)
- [Changelog](https://github.com/guard/guard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guard/guard/compare/v2.14.2...v2.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-19 12:38:07 -05:00
Alex B
ca72083019 Added retina compatible favicon #1116 (#1139) 2018-11-19 09:41:10 -05:00
Anna Buyanova
deb7e794a6 Fixes #708 the reading list pagination (#1149) 2018-11-19 09:09:10 -05:00
John Woodruff
0f23de50c6 Add stackblitz support (#1120)
* Add stackblitz support

* Add stackblitz tests

* Remove test I accidentally copied over.
2018-11-19 08:38:12 -05:00
Harsh Patel
63acd40521 fix a typo in CONTRIBUTING.md (#1136) 2018-11-17 10:43:08 -05:00
Ben Halpern
30fb455a39
Add check for whether reactable exists in internal/reports (#1135) 2018-11-16 19:19:40 -05:00
Ben Halpern
a1be99ebf0
Add reaction confirm/invalidate workflow for admins (#1134) 2018-11-16 18:53:36 -05:00
Ben Halpern
cbf8d76d94
Add score minimum to a couple missing places (#1133) 2018-11-16 18:16:33 -05:00
Ben Halpern
f744f43493
Remove outline: 0 and add keyboard accessibility for nav menu (#1132) 2018-11-16 15:17:20 -05:00
Ben Halpern
921b5b0d9a
Add sloan as marker of low quality and adjust banishment logic (#1129)
* Add sloan as marker of low quality and adjust banishment logic

* Add s3 stub to rails_helper

* Modify banishment criteria

* Only mess with profile image in prod
2018-11-16 14:11:41 -05:00
Peter Frank
3010378ab9 Updating language in the terms of service (#1130) 2018-11-16 13:35:43 -05:00
Ben Halpern
6a7fe9d9ad
Fix/adjust dashboard style (#1126)
* Fix/adjust dashboard style

* Add pull-to-refresh for dashboard

* Adjust test to account for new UI
2018-11-15 17:43:05 -05:00
sidemt
62d8a33111 Add GitLab URL field to user profile (#1121)
* Add SVG file of GitLab icon

* Add gitlab_url column to users table

* Add gitlab_url to user model, controller and policy

* Add gitlab_url to views

* Add tests for gitlab_url
2018-11-15 16:09:35 -05:00
Peter Frank
b10747dbac Adding initial org info page (#1119) 2018-11-15 14:15:37 -05:00
Mac Siri
4ab0a070ea
Improve Onboarding's spec & Update snapshots (#1111) [ci skip] 2018-11-14 16:18:02 -05:00
dependabot[bot]
75f4b5ea89 Bump aws-sdk-lambda from 1.5.0 to 1.13.0 (#1098)
Bumps [aws-sdk-lambda](https://github.com/aws/aws-sdk-ruby) from 1.5.0 to 1.13.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-lambda/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-14 15:45:54 -05:00
Ben Halpern
2022d45fb1
Make analytics show on all posts and add other details (#1118) 2018-11-14 13:30:29 -05:00
Ben Halpern
61173bede1
Finalize new analytics style (#1117) 2018-11-14 10:50:05 -05:00
Ben Halpern
c5807205b5
Adjust dashboard analytics to be more reliable (#1115)
* Update analytics

* Remove analytics file

* Remove unused files

* Add delete button back in on dashboard
2018-11-13 20:37:29 -05:00
Ben Halpern
652ec00f73
Fix typo and remove sustaining membership (#1107) 2018-11-12 19:08:00 -05:00
Raphael Miedl
8d8f30d600 Fix typos and wording in installation docs. (#1108) 2018-11-12 18:11:58 -05:00
Mac Siri
880c8b5564
Update README.md (#1106) [ci skip] 2018-11-12 13:00:58 -05:00