Commit graph

1434 commits

Author SHA1 Message Date
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
rhymes
dd6372012d Upgrade Ruby to 2.6.1 (#1711)
* Upgrade Ruby to 2.6.1

Ruby 2.6.1 contains a fix for Net::HTTP

* Add 2.6.1 to .ruby-version as well

* Add 2.6.1 to Travis CI as well
2019-02-06 16:48:28 -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
fe9da91c57 Remove duplicate husky configuration (#1712) 2019-02-05 15:44:55 -05:00
rhymes
ecad47eb3c Add title to badge images (#1738) 2019-02-05 15:16:15 -05:00
dependabot[bot]
a3bb0b831a Bump cloudinary from 1.9.1 to 1.11.1 (#1721) [ci skip]
Bumps [cloudinary](https://github.com/cloudinary/cloudinary_gem) from 1.9.1 to 1.11.1.
- [Release notes](https://github.com/cloudinary/cloudinary_gem/releases)
- [Changelog](https://github.com/cloudinary/cloudinary_gem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cloudinary/cloudinary_gem/compare/1.9.1...1.11.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 10:30:24 -05:00
dependabot[bot]
0090ee0dbb Bump twilio-video from 1.15.0 to 1.15.1 (#1725) [ci skip]
Bumps [twilio-video](https://github.com/twilio/twilio-video.js) from 1.15.0 to 1.15.1.
- [Release notes](https://github.com/twilio/twilio-video.js/releases)
- [Changelog](https://github.com/twilio/twilio-video.js/blob/1.15.1/CHANGELOG.md)
- [Commits](https://github.com/twilio/twilio-video.js/compare/1.15.0...1.15.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 10:25:22 -05:00
dependabot[bot]
bf3823e164 Bump lint-staged from 8.1.0 to 8.1.3 (#1722) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.0 to 8.1.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.0...v8.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 10:21:56 -05:00
dependabot[bot]
429d35b9a1 Bump parallel_tests from 2.27.0 to 2.27.1 (#1720) [ci skip]
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.27.0 to 2.27.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.0...v2.27.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 10:21:21 -05:00
dependabot[bot]
77d66f5423 Bump eslint-plugin-import from 2.15.0 to 2.16.0 (#1723) [ci skip]
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.15.0 to 2.16.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.15.0...v2.16.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 10:19:45 -05:00
dependabot[bot]
5f2bafb8f5 Bump eslint from 5.12.1 to 5.13.0 (#1728) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.12.1 to 5.13.0.
- [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.12.1...v5.13.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-05 10:19:12 -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
dependabot[bot]
aa16cad429 Bump eslint-plugin-jsx-a11y from 6.2.0 to 6.2.1 (#1727)
Bumps [eslint-plugin-jsx-a11y](https://github.com/evcohen/eslint-plugin-jsx-a11y) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/evcohen/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evcohen/eslint-plugin-jsx-a11y/compare/v6.2.0...v6.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 14:29:38 -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
dependabot[bot]
ed03c4cf0c Bump prettier from 1.16.1 to 1.16.4 (#1729) [ci skip]
Bumps [prettier](https://github.com/prettier/prettier) from 1.16.1 to 1.16.4.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.16.1...1.16.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-04 10:44:23 -05:00
Ben Halpern
560d633327
Modify memcache hardcoded limit (#1718) 2019-02-03 01:43:57 -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
rhymes
2019621ca1 Add default locale to i18n fallbacks (#1714) 2019-02-02 19:49:14 -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
Sean
05eaa704d9 Correct grammar and punctuation in API Key docs (#1708)
Correct grammar and punctuation in 'Getting API Keys for Dev Environment' [skip ci]
2019-02-01 16:13:58 -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
Ben Halpern
cbb96bb7b8
Change issue level to be more intuitive (#1690) 2019-01-31 16:20:01 -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
Nick Taylor
32bf541ffd Upgrade husky config (#1686) [ci skip] 2019-01-31 12:01:31 -05: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
dependabot[bot]
55e0c02581 Bump codemirror from 5.42.2 to 5.43.0 (#1664) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.42.2 to 5.43.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.42.2...5.43.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-28 13:29:45 -05:00