Commit graph

1248 commits

Author SHA1 Message Date
rhymes
dbf5fc63ad Fix Rubocop Security/Open (#1447)
* Re-run rubocop autogen config

* Fix Layout/* violations

* Fix Security/Open and use HEAD if GET is not needed
2019-01-02 16:35:19 -05:00
Nick Taylor
b48e573c31 Add build-storybook step to deployment. (#1412) [ci skip]
* Added step to deployment to build the static storybook site.

* Added step to deployment to build the static storybook site.

* using npm instead as yarn isn't installed at this point.

* reverted deployment to netlify.
2019-01-02 14:02:06 -05:00
Joe Winter
c47253f9d6 change the hard-coded current year to the current year (#1436) 2019-01-02 13:21:44 -05:00
dependabot[bot]
4f4325c926 Bump slack-notifier from 1.5.1 to 2.3.2 (#1425)
Bumps [slack-notifier](https://github.com/stevenosloan/slack-notifier) from 1.5.1 to 2.3.2.
- [Release notes](https://github.com/stevenosloan/slack-notifier/releases)
- [Changelog](https://github.com/stevenosloan/slack-notifier/blob/master/changelog.md)
- [Commits](https://github.com/stevenosloan/slack-notifier/compare/1.5.1...2.3.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 11:40:41 -05:00
rhymes
6553f08d94 Rubocop cleanups (#1415)
* Update rubocop-todo.yml with new violations

* Fix Layout/EmptyLine* rules

* Fix Layout/Indentation* rules

* Fix remaining Layout/* rules

* Fix Lint/DuplicateMethods by removing unused accessor

* Fix Lint/IneffectiveAccessModifier

* Fix Lint/MissingCopEnableDirective

* Re-run rubocop auto gen config

* Fix Layout/RescueEnsureAlignment

* Fix Naming/* rules

* Fix some RSpec/* rules

* Fix typos

* Fix RSpec/LetBeforeExamples

* Series should only be an attr_writer, not an attr_accessor

* Fix RSpec/InstanceVariable

* Fix RSpec/InstanceVariable

* Fix RSpec/RepeatedDescription and RSpec/RepeatedExample

* Fix Style/ClassAndModuleChildren

* Fix Style/ConditionalAssignment

* Fix some Style/* rules

* Trigger Travis CI build because failing tests are not failing locally

* Revert "Fix Style/ClassAndModuleChildren"

This reverts commit 1686801d8a1516ba1894f79e24401a20dea65f99.
2019-01-02 11:20:02 -05:00
Arun Kumar
cfcc204a20 Minor refactor (#1443)
* Rescue `ActiveRecord::RecordNotFound` exception instead of `StandardError`

* Replace `!blank?` call with `present?`
2019-01-02 10:42:42 -05:00
Arun Kumar
0f8c08629b Remove superfluous condition (#1441) 2019-01-01 17:05:18 -05:00
Arun Kumar
c859651081 Refactor !empty? calls with any? (#1442) 2019-01-01 17:04:52 -05:00
Ben Halpern
a4fccb2f5b
Swap Triplebyte with Twilio sponsors (#1440) 2019-01-01 17:04:22 -05:00
Sudarshan Parvatikar
51e3375f88 updated copyright year to 2019 (#1437) 2019-01-01 16:15:37 -05:00
dependabot[bot]
a5e872f91b Bump eslint-plugin-react from 7.11.1 to 7.12.0 (#1426) [skip ci]
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.11.1 to 7.12.0.
- [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases)
- [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.11.1...v7.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-31 13:15:46 -05:00
dependabot[bot]
5c7434b1b0 Bump memory_profiler from 0.9.10 to 0.9.12 (#1422)
Bumps [memory_profiler](https://github.com/SamSaffron/memory_profiler) from 0.9.10 to 0.9.12.
- [Release notes](https://github.com/SamSaffron/memory_profiler/releases)
- [Changelog](https://github.com/SamSaffron/memory_profiler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/SamSaffron/memory_profiler/compare/v0.9.10...v0.9.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-31 09:07:47 -05:00
dependabot[bot]
220b029825 Bump eslint from 5.11.0 to 5.11.1 (#1429)
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.0 to 5.11.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.11.0...v5.11.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-31 09:06:59 -05:00
dependabot[bot]
ef55046b71 Bump husky from 1.2.1 to 1.3.1 (#1430)
Bumps [husky](https://github.com/typicode/husky) from 1.2.1 to 1.3.1.
- [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.2.1...v1.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-31 09:06:25 -05:00
Abraham Williams
b30055ed12 Remove unnecessary variable assignment (#1414) 2018-12-29 13:18:27 -05:00
Ben Halpern
1de6f47ae5
Remove title from visibility on page (#1418) 2018-12-29 12:50:14 -05:00
Ben Halpern
c6644f9e97
Create tag liquid tag (#1417)
* Create tag liquid tag

* Add tag embed to editor guide
2018-12-29 12:12:18 -05:00
Arun Kumar
536e86a6ac Fix page titles (#1416) 2018-12-29 11:14:45 -05:00
Ben Halpern
fc0175b18d
Refactor articles api controller (#1409)
* Refactor articles api controller

* Modify authorization logic in api
2018-12-27 16:47:04 -05:00
Nick Taylor
b267967177 Revert to last known working version of Storybook (#1410) [ci skip] 2018-12-27 16:43:22 -05:00
Ben Halpern
e4c120db5d
Replace dev.to with APP_DOMAIN config in a few places (#1406)
* Replace dev.to with APP_DOMAIN config in a few places

* Modify some tests
2018-12-26 18:13:05 -05:00
Andy Zhao
0a8f9ca654 Fix URL Validations and Update Admin Dashboard (#1392)
* Validate for trailing slash instead of strict validation

* Remove unused sign_in_count field

* Add profile URLs to edit view

* Add profile URLs to admin controller params

* Add profile URLs to edit view

* Clean up index and search views for user

* Move around user fields to make more sense

* Display more informative label

* Remove name_of_user field in favor of new display label

* Fix typo

* Remove duplication for website, employer, and Mastodon URLs

* Add score to comment params

* Remove unused name_of_user field views

* Fix typo for medium url
2018-12-26 18:00:02 -05:00
Andrew Bone
9e18264f9f Add --theme-container-box-shadow (#1403)
* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements

* Add --theme-container-box-shadow

Box-shadow settings for articles and nav-elements
2018-12-26 16:54:15 -05:00
Andrew Bone
e7770ac6ec Add --theme-background to new post page (#1402)
The background colour tag is different, by default, on the new post page so I missed it on my initial sweep
2018-12-26 16:53:25 -05:00
rhymes
7181b37784 Cleanup Image management file (#1390) 2018-12-26 16:19:04 -05:00
Some-Dood
f06225bd2f Fix flashing cursor when hovering over .wide-nav-links (#1404) 2018-12-26 13:19:29 -05:00
Móricz Gergő
33d172f825 Add Docker installation to Table of Contents (#1405) [ci skip] 2018-12-26 12:14:47 -05:00
dependabot[bot]
5f25e9913e Bump codemirror from 5.42.0 to 5.42.2 (#1397) [ci skip]
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.42.0 to 5.42.2.
- [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.0...5.42.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-26 12:02:23 -05:00
dependabot[bot]
37e044a74e Bump @storybook/addon-links from 4.1.2 to 4.1.3 (#1398) [ci skip]
Bumps [@storybook/addon-links](https://github.com/storybooks/storybook) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/v4.1.3/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v4.1.2...v4.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-26 12:01:58 -05:00
dependabot[bot]
bf3e23e14b Bump eslint from 5.10.0 to 5.11.0 (#1399) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.10.0 to 5.11.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.10.0...v5.11.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-26 12:01:41 -05:00
dependabot[bot]
8d9d44ec76 Bump @storybook/addon-actions from 4.1.2 to 4.1.3 (#1400)
Bumps [@storybook/addon-actions](https://github.com/storybooks/storybook) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/v4.1.3/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v4.1.2...v4.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 11:18:13 -05:00
Andrew Bone
b920a68f04 Adding --theme-color (#1387)
Adding `--theme-color` to change the colour of the text in the body
2018-12-24 09:58:57 -05:00
Andrew Bone
1f5bc148e0 Add --theme-background to comments page (#1386)
The background colour tag is different, by default, on the comment page so I missed it on my initial sweep
2018-12-24 09:58:48 -05:00
Andrew Bone
724ae7a106 Added --theme-top-bar-write-* (#1388)
* Added --theme-top-bar-write-*

Adding both --theme-top-bar-write-color and --theme-top-bar-write-background to change the text/border colour and background colour of the write a post button.

* add --theme-top-bar-write-color to border

Added --theme-top-bar-write-color to border

* Revert theme changes

* Limit changes to write button

Styles were leaking but are now contained
2018-12-24 09:40:33 -05:00
Andrew Bone
7a5239efc1 CSS Variables: Support for IE (#1385)
* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.

* Support for IE

Make IE look alright again.
Won't be theme-able but will at least work.
2018-12-24 09:05:21 -05:00
Some-Dood
3c3c40b9f5 Fix wrong cursor pointer of search query filter buttons on hover (#1394)
* Fix wrong cursor pointer on hover

This commit changes the cursor to a pointer when the mouse hovers over one of the search query filter buttons.

* Moved rule outside the hover block to be consistent with the coding style
2018-12-24 09:04:08 -05:00
dependabot[bot]
ecdc33e04c Bump @storybook/addons from 4.1.2 to 4.1.3 (#1401)
Bumps [@storybook/addons](https://github.com/storybooks/storybook) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/storybooks/storybook/releases)
- [Changelog](https://github.com/storybooks/storybook/blob/v4.1.3/CHANGELOG.md)
- [Commits](https://github.com/storybooks/storybook/compare/v4.1.2...v4.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 09:03:38 -05:00
Móricz Gergő
36f656c4e3 Add Publishing from RSS Guide (#1151)
* Added Publishing from RSS Guide and added a link to it on Settings -> Publishing from RSS.

* Resolved review.

* copy tweaks
2018-12-20 17:38:38 -05:00
Ben Halpern
2bb48d27c4
Add two-year-club auto-rewarder (#1383) 2018-12-20 16:53:22 -05:00
Andrew Bone
71ed1d40bc Adding --theme-top-bar-color (#1373)
Adding `--theme-top-bar-color` to change the colour of the text in the nav bar
Currently, this only changes the colours of the icons fill.
2018-12-20 16:40:06 -05:00
Ben Halpern
0aeb579547
Remove Facebook pixel (#1380) 2018-12-20 14:25:07 -05:00
Ben Halpern
0c910baae1
Move file-level imports to dynamic imports to reduce initial bundle size (#1379) 2018-12-20 12:58:20 -05:00
Anant Jain
479cf6fc9f Fixes Organization Settings CTA link url label (#1370) (#1371) 2018-12-20 12:51:50 -05:00
Andrew Bone
3feccdc852 Add --theme-background to notifications page (#1374)
The background colour is different, by default, on the notification page so I missed it on my initial sweep.
2018-12-20 12:51:23 -05:00
Andrew Bone
6c88857865 Adding --theme-top-bar-search-* (#1375)
* Adding --theme-top-bar-search-*

Adding both --theme-top-bar-search-color and --theme-top-bar-search-background to change the colour and background colour of the search box.

* Changes to placeholder and input

Placeholder opacity down to 0.5 to appear faded
Placeholder default colour set to system black

Input text colour can now be set with `--theme-top-bar-search-color` too
2018-12-20 12:50:58 -05:00
Ben Halpern
75158e7f84
Add browser support to docs [skip ci] (#1378) 2018-12-20 12:50:33 -05:00
Jess Lee
095d25ecd4 Add more details to Tag moderation page (#1376) 2018-12-20 12:09:28 -05:00
Ashwin Vaswani
fbdd80d5fc Add headings to header tags (#1003)
* updating all headers to have h* tags, or changing elements

* Remove commented out binding.pry

* Remove unused page

* Use article instead of div for consistency

* Update snapshot with new section tag

* Use h4 tags again for new views
2018-12-19 16:47:44 -05:00
Ben Halpern
bbbfe6af51
Add haptic feedback where it was missing (#1367) 2018-12-19 16:24:12 -05:00
Jess Lee
1586d9fd7d Include conditional for adding tag mods to connect channel (#1366)
* fix slug typo

* fix specs

* use blank? instead of nil?
2018-12-19 15:44:36 -05:00