Commit graph

1291 commits

Author SHA1 Message Date
Mac Siri
11684331d4
Silence Delayed::Workers in spec [ci skip] 2019-01-10 16:33:58 -05:00
Mario See
6ade962480 connect message spacing fix (#1259)
* style changes

* removed detail already in parent class

* Update chat.scss

width assertions

* mobile
2019-01-10 14:33:25 -05:00
Andy Zhao
68807c6df7 Allow Organizations to Update Slug/Username (#1411)
* Close anchor tag typo

* Remove confusing message in profile

* Fix typo in spec

* Add old_slug and old_old_slug fields to org

* Test for check_for_slug_change method

* Add ability for orgs to change slug

* Update copy to match new org language

* Add redirect for organizations with old slugs

* Use less queries for handling org/user redirect

* Use consistent syntax for user creation

* Test for organization slug redirects

* Refactor user article redirect
2019-01-10 14:16:43 -05:00
Andrew Bone
4673496830 SlideShare Liquid tag (#1485)
* Create slideshare_tag.rb

* Create slideshare_tag_spec.rb

* Add slide share

* rubocop compliance

* Still learning

https://ruby-doc.org/core-2.5.1/Regexp.html

* More secure match

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Strip whitespace

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Strip before regex

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Remove latter strip

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>
2019-01-10 12:58:16 -05:00
Anna Buianova
8f348f9831 Fix comment cancel button url (#1508) 2019-01-10 12:25:11 -05:00
Ben Halpern
b4384867ad
Remove access_token key for twitter dump (#1510) 2019-01-10 11:48:27 -05:00
Ali Spittel
715c2a7bba add myself to the core contributors (#1506) 2019-01-09 17:08:47 -05:00
dependabot[bot]
40b578ca67 Bump jbuilder from 2.7.0 to 2.8.0 (#1474)
Bumps [jbuilder](https://github.com/rails/jbuilder) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/rails/jbuilder/releases)
- [Changelog](https://github.com/rails/jbuilder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jbuilder/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 16:41:37 -05:00
dependabot[bot]
b95b641eb4 Bump buffer from 10edfe6 to 3c4bf6a (#1473)
Bumps [buffer](https://github.com/bufferapp/buffer-ruby) from `10edfe6` to `3c4bf6a`.
- [Release notes](https://github.com/bufferapp/buffer-ruby/releases)
- [Commits](10edfe62d4...3c4bf6aec1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 16:14:51 -05:00
Vinicius Stock
0725b85e50 Upgrade to Ruby 2.6.0 (#1482)
* Upgrade to Ruby 2.6.0

* Change Ruby version in guides and in travis

* Upgrade Rubocop

* Change Rubocop version for code climate

* Update .codeclimate.yml

* Update badge
2019-01-09 15:59:38 -05:00
Jess Lee
5e4508ebe1 Remove callbacks from banisher + specs! (#1501)
* wip remove callbacks from banisher

* remove pry
2019-01-09 15:12:38 -05:00
Ben Halpern
ebc859f574
Fix user-select issue in comments (#1502) 2019-01-08 19:38:13 -05:00
Andy Zhao
08e01b2c2a Fix Podcast Liquid Tag (#1500)
* Test for podcast tag properly rendering

* Include CL helper
2019-01-08 18:45:42 -05:00
Mario See
8bb1716935 connect chat message markdown styling (#1487)
* remove inline markdown rule

* broaden evaluate_inline_markdown

basically same as evaluate_markdown but without class attributes

* remove inline markdown parser

* change code block color and background

* even out code padding top/bottom
2019-01-08 17:48:12 -05:00
Ben Halpern
d187795603
Update dashboard_show admin permissions (#1496)
* Update dashboard_show admin permissions

* Add :admin access to update posts
2019-01-08 17:46:31 -05:00
Ben Halpern
f626a3a2ad
Modify display and style of API tokens (#1490)
* Modify display and style of API tokens

* Delete accidentally-included slideshare tag
2019-01-08 16:17:00 -05:00
Ben Halpern
7333aa5436
Fix comment creation (#1495) 2019-01-08 14:29:49 -05:00
dependabot[bot]
029a3a2fd3 Bump carrierwave from 1.2.2 to 1.3.1 (#1475)
Bumps [carrierwave](https://github.com/carrierwaveuploader/carrierwave) from 1.2.2 to 1.3.1.
- [Release notes](https://github.com/carrierwaveuploader/carrierwave/releases)
- [Changelog](https://github.com/carrierwaveuploader/carrierwave/blob/master/CHANGELOG.md)
- [Commits](https://github.com/carrierwaveuploader/carrierwave/compare/v1.2.2...v1.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-08 13:31:04 -05:00
Andy Zhao
a612730b6b Remove extraneous slash for path (#1489) 2019-01-08 13:25:08 -05:00
Ben Halpern
7c8f71251d
Add details to toggles and modify some styling (#1484)
* Add details to toggles and modify some styling

* Add details to child comments

* Finalize comment collapse in nested comments

* Modify styling on comment <details>
2019-01-08 12:53:48 -05:00
Timothy Ng
84bd3a69d7 ApiSecret model for Developer API (#1369)
* Add ApiSecret model scaffold

* Add relationships between ApiSecret, User, Organization

* Add placeholder template to account tab

* Add description column to ApiSecrets

* Add very basic access token generation

* Add basic access token deletion

* Show access token on success flash

* Add placeholder message when user has no secrets

* Use cta style on token generation button

* Add presence validation for ApiSecret description

* Add ApiSecrets factory

* Add pundit policy for ApiSecret

* Nest form field within api_secret hash to allow rails strong params

* Use pundit to authorize ApiSecretController actions

* Add error message flash for ApiSecretsController actions

* Add specs for ApiSecretsController

* Add length validation to api secret description

* Flash model error instead of generic message on save failure

* Truncate ApiSecret factory objects descriptions to prevent validation error

* Remove length restriction on ApiSecret.description

* Use darker font color for token creation date

* Consolidate ApiSecret migrations
2019-01-08 12:30:54 -05:00
Andrew Bone
9ea53d5669 Add --theme-container-color (#1479)
* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements

* Add --theme-container-color

Add --theme-container-color for theming all containing elements
2019-01-07 15:56:01 -05:00
Mac Siri
f4ca4a15e5 Fix liquid tag parsing error (#1481)
* Fix liquid tag parsing error

* Update spec
2019-01-07 15:54:57 -05:00
dependabot[bot]
32defff391 Bump marked from 0.5.2 to 0.6.0 (#1477)
Bumps [marked](https://github.com/markedjs/marked) from 0.5.2 to 0.6.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.5.2...v0.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 11:32:20 -05:00
Andrew Bone
abc8aaf793 Missed --theme-container-border (#1480)
* Missed --theme-container-border

Adding --theme-container-border for missed elements

* Missed --theme-container-border

Adding --theme-container-border for missed elements

* Missed --theme-container-border

Adding --theme-container-border for missed elements
2019-01-07 11:27:02 -05:00
dependabot[bot]
1c6ee19aa2 Bump eslint-plugin-react from 7.12.2 to 7.12.3 (#1478) [ci skip]
Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.12.2 to 7.12.3.
- [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.12.2...v7.12.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 10:38:59 -05:00
dependabot[bot]
6750b58ebc Bump eslint from 5.11.1 to 5.12.0 (#1476) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.12.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.11.1...v5.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 10:37:55 -05:00
Andrew Bone
8cccc03b9a Add --theme-container-box-shadow places missed (#1420)
* Add --theme-container-box-shadow to footer

Add the --theme-container-box-shadow variable to the footer box shadow

* Add --theme-container-box-shadow to dashboard-analytics-header-wrapper

Add the --theme-container-box-shadow variable to the dashboard-analytics-header-wrapper

* Add --theme-container-box-shadow to query

Add the --theme-container-box-shadow variables to the no results query page

* Add --theme-container-box-shadow to widgets

Add the --theme-container-box-shadow variables to widgets
2019-01-06 15:15:38 -05:00
Ben Halpern
9af401ad09
Remove user signed in difference in article show comment form (#1468) 2019-01-05 22:27:34 -05:00
Ben Halpern
69b90272a9
Improve caching on article show view (#1467) 2019-01-05 21:42:10 -05:00
Vinicius Brasil
583160532c Improve User profile form labels capitalization (#1464) 2019-01-05 21:40:57 -05:00
Ben Halpern
a0e4f01020
Finalize generated sitemap (#1466)
* Add sitemap generation

* Modify sitemap details
2019-01-05 20:40:19 -05:00
Ben Halpern
98b68fa15c
Add sitemap generation (#1465) 2019-01-05 19:43:24 -05:00
Ben Halpern
e79f3bfbc1
Fix linting (#1463) 2019-01-04 21:13:12 -05:00
Andrew Bone
6b4b8b9c6a Add --theme-container-border (#1421)
* Add --theme-container-border

Add the --theme-container-border variable for styling.

* Add --theme-container-border

Add the --theme-container-border variable for styling.

* Add --theme-container-border

Add the --theme-container-border variable for styling.

* Add --theme-container-border

Add the --theme-container-border variable for styling.
2019-01-04 20:37:53 -05:00
Mac Siri
8e50e58844 Add list-style to Widget (#1448)
* Add list

* Remove retry
2019-01-04 17:48:12 -05:00
rhymes
de5b889445 Fix Rubocop Style/MixinUsage and cleanup prefix_all_images (#1451)
* Use sanitizer to strip HTML tags

* Fix Style/MixinUsage

* Cleanup prefix_all_images

* Stay under 25 lines of code
2019-01-04 14:20:53 -05:00
Abraham Williams
67e9ba223d Remove debug line (#1462) [ci skip] 2019-01-04 13:10:09 -05:00
Mac Siri
23cdf4de95 Run yarn upgade
Also removed & re-added lint-staged
2019-01-04 11:42:33 -05:00
dependabot[bot]
939cf064cf Bump algoliasearch-rails from 1.20.4 to 1.20.6 (#1427)
Bumps [algoliasearch-rails](https://github.com/algolia/algoliasearch-rails) from 1.20.4 to 1.20.6.
- [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.4...1.20.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-04 11:09:41 -05:00
Arun Kumar
08c070b7e3 Fix block delimiters Rubocop offense (#1456) 2019-01-03 16:45:28 -05:00
Jess Lee
4214bcbbf6 Add user status to internal/users (#1444)
* wip

* add indiviual user partial

* remove unnecessary attributes

* wip

* add indiviual user partial

* remove unnecessary attributes

* remove mentorship matching from view

* fix linting

* add mentor matching method back and refine test

* remove duplicate mentee descriptions

* Update app/controllers/internal/users_controller.rb

Co-Authored-By: jessleenyc <jessleenyc@gmail.com>
2019-01-03 16:44:43 -05:00
Arun Kumar
80a23ba403 Fix rubocop offenses (#1452) 2019-01-03 09:23:38 -05:00
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