Commit graph

5998 commits

Author SHA1 Message Date
dependabot-preview[bot]
55dfa8d2bc
Bump honeycomb-beeline from 2.1.0 to 2.1.1 (#9125)
* Bump honeycomb-beeline from 2.1.0 to 2.1.1

Bumps [honeycomb-beeline](https://github.com/honeycombio/beeline-ruby) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/honeycombio/beeline-ruby/releases)
- [Commits](https://github.com/honeycombio/beeline-ruby/compare/v2.1.0...v2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Bump honeycomb-beeline from 2.1.0 to 2.1.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-05 14:21:43 -05:00
Yash Dave
5c1222d912
fix lint errors in initializeSwipeGestures (#8972)
Co-authored-by: Nick Taylor <nick@iamdeveloper.com
2020-07-05 14:20:49 -05:00
rhymes
90c6e30972
Remove unused test for Redis cache store (#9102) 2020-07-05 14:13:19 -05:00
Nick Taylor
9442fde9e7
Added node.js internals to list of skipped files for debugging jest in VS Code. (#9099) 2020-07-04 09:43:26 -04:00
Alex
6df3e091d8
[deploy] Update PollTag (#9087)
* Update PollTag

* Remove old liquid_tags_used and add comment

* Update comment for clarity

* Remove old spec
2020-07-03 18:52:44 -04:00
Arnold Chand
df172702df
update: add mastodon.online to the whitelist (#9104)
This will whitelist mastodon.online url, so users from the
mastodon.online instance can link their profile within their dev.to
profile page.
2020-07-03 18:30:54 -04:00
Molly Struve
85a10524d4
Change Highlight Tags to mark instead of em (#9098)
* Change Highlight Tags to mark instead of em

* Ensure User ID is never present and stub Sitconfig
2020-07-03 21:50:06 +02:00
Jacob Herrington
0b973c9d82
Allow organization owners to use the Automatic Rebase workflow (#9090)
* Allow org owners to kick off automatic rebase

I suspect without this change PBJ couldn't kick off the automatic rebase
workflow.

This also includes a tweak to our method for determining if this is a
comment on a PR. I personally think this method is more explicit and
therefore readable.

* Add explanatory comment to rebase workflow

This might help someone determine what the workflow does at a glance, it
also documents a slightly unexpected caveat: The workflow can't be
triggered if your organization membership is private.

* Trigger Travis

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-07-03 10:49:40 -05:00
Jacob Herrington
10bb220e1d
Add a workflow to greet new contributors (#9096) 2020-07-03 09:44:41 -05:00
ludwiczakpawel
989be11820
Search highlight text (#9097)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .
2020-07-03 15:04:56 +02:00
Nick Taylor
322628c4ef
[deploy] Fixed remaining lint issues in the frontend. (#9093) 2020-07-03 08:00:25 -05:00
Ben Halpern
4a8936a18e
[deploy] Slight fix in dropdown menu code (#9095) 2020-07-03 00:08:22 -04:00
Ben Halpern
5b93c88e96
[deploy] Update yarn lock (#9094) 2020-07-02 22:54:18 -04:00
Nick Taylor
dcc882c0c5
[deploy] Fixed the three dot menu on the article page. (#9088) 2020-07-02 21:13:26 -04:00
Yash Dave
26e3bb96ab
fix node install windows docs (#9070)
* fix node install windows docs
- add nvm installation
- switch yarn to install without node
- add `nvm install` post clone

* improve sentence formation for nvm installation

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Remove "Node.js" out of codeblocks

* improve language clarity

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2020-07-02 15:46:36 -05:00
Jacob Herrington
0c08a63622
Standardize capitalization of JavaScript (#9080)
* Standardize capitalization of JavaScript

* Reword links to alternate JS guides
2020-07-02 15:44:38 -05:00
Mac Siri
5739b9d651
[deploy] Update Honeybadger to ignore ResizeObserver (#9057) 2020-07-02 16:24:36 -04:00
Alex
9ee024f9d0
UserSubscription backend refactor (#9060)
* Refactor controller validations to model

* Update specs and move current email validation back

* Refactor #subscribed

* Cleanup UserSubscriptions::Create service

* Refactor service

* Move source inside of call for clarity

* Specs for UserSubscription::Create

* Cleanup spec

* Fix Article spec

* Updated for subscriber_email

* Add comment for explicitness of subscriber_email

* Fix reference in comment...oops!

* I know what I'm doing...sometimes...maybe

* Rename CachChecker - Subscription to IsSubscribed

* Use include vs eq in specs for error messages

* attr_accessor --> attr_reader

* Don't explicitly set nil

* Rename Create service to CreateFromService

* Use errors_as_sentence

* Rename service to CreateFromControllerParams

* Assign Struct to a new constant
2020-07-02 12:08:37 -04:00
Danielle Heberling
4f31a8ac46
[deploy] Add Stackery liquid tag (#9063)
* Add stackery liquid tag

* Refactor stackery liquid tag

* Docs for stackery liquid tag

* Add stackery liquid tag tests

* Remove Github API check from stackery liquid tag

* Minor PR comment tweaks
2020-07-02 11:59:45 -04:00
Michael Kohl
cb973d5edd
[deploy] Add secondary_logo_url to SiteConfig (#9068) 2020-07-02 11:55:28 -04:00
Nick Taylor
a6cdef4f04
Fixed <RequestManager /> skipped test (#9073) 2020-07-02 10:08:40 -04:00
ludwiczakpawel
82d99f5834
[deploy] Add collapsible panel to markdown help in editor (#9050) 2020-07-02 07:58:07 -05:00
Michael Kohl
25622fa1ff
Show org dropdown for postless users (#9069)
* Show org dropdown for postless users

* sorting and gap

* Fix typo

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
2020-07-02 14:46:20 +02:00
Sarthak Sharma
586874d252
[deploy] 🐞Hotfix: Connect page is showing discoverable channels (#9071) 2020-07-02 07:44:26 -05:00
Awasum Yannick
f298f8c41f
Enable Automatic Rebase: Fix #8927 (#9018)
* Enable Automatic Rebase: Fix #8927

* Update rebase.yml to use startsWith

Use startsWith() instead of contains() in Github Action so as to prevent accidental Rebase of PRs.
2020-07-02 12:42:21 +02:00
Mac Siri
1662473174
Add null safety to handleLoggedOut() (#9062) 2020-07-02 10:51:37 +02:00
Molly Struve
7a8e77cbf3
[deploy] Refactor Flare Tag Class (#9064) 2020-07-01 16:57:03 -04:00
Ben Halpern
2a31f7b9de
[deploy] Remove report-abuse link from base HTML document into JavaScript (#9059) 2020-07-01 16:29:22 -04:00
Molly Struve
c64e596ad9
[deploy] Feature: Enable KnapsackPro Queue Mode Take 2 (#9021) 2020-07-01 13:28:22 -04:00
Arit Amana
43d860717b
[deploy] Make formatDate function more robust for intl date-time formats (#9033) 2020-07-01 12:49:42 -04:00
Yash Dave
9b1b02b996
[deploy] fix blockquote render error windows docs (#9053) 2020-07-01 12:04:37 -04:00
Ben Halpern
5c18f8cb67
[deploy] Only include community sponsors header if sponsors truly exist (#8942) 2020-07-01 10:37:41 -04:00
Lisa Sy
997d5c1b88
Update styling of user subscription liquid tag (#9003) [deploy]
* Update user subscription user tag styling

* Update notice styling

* Refactor toggle visibility

* Update profile image styling

* Refactor JS & CSS updates

* Show  state in Preview of liquid tag
2020-07-01 07:35:42 -07:00
OmarElKhatib
b44c0f5c0e
Fixing scrollbar for small screens in the profile page (#9047)
* Remove legacy code

* add crayons-card to index-comments

the deleted legacy code , is handled in crayons-card

* Revert change to home class

because it's used maaaaaaany times in the project , so it's better not modify it.

* OmarElKhatibCS/fixing issue #9016 , fixing scrollbar for small screens
2020-07-01 10:35:28 -04:00
ludwiczakpawel
de358f8eec
[deploy] Word-break utility-first class (#9049)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .
2020-07-01 10:26:15 -04:00
Nick Taylor
9fc79cf034
Added pragmaFrag so terse Fragment syntax,<></>, can be used in Preact. (#9051) 2020-07-01 09:19:33 -04:00
Jacob Herrington
83ba6b64c9
Stop allowing accented characters in tags (#9006)
* Stop allowing accented characters in tags

This commit will add strict frontend and backend validation for tags
disallowing accented characters.

* Update tags validation error message

* Add more character sets to tag validation spec
2020-07-01 11:48:25 +02:00
Michael Kohl
db17e98804
Unique IDs for hidden article_archived fields (#9048) 2020-07-01 11:35:29 +02:00
Nick Taylor
3833b17a66
Added upload spinner for cover image in editor (#9041)
* Added the cover image upload spinner.

* Fixed skipped test for changing cover image.

* Added tests.
2020-07-01 11:18:26 +02:00
Raphael Noriode
1a4dba2475
API: Fetch article by slug (#8929)
* Add check to id param to use slug if passed

* modify to use slug in a different action

* wrote test for this api endpoint

* update test to check array equality
the test also checks if the first tag in the parsed list is the same as the first tag in the article
2020-07-01 10:58:45 +02:00
Veggier
92a6b99446
change the connect Scrolling CSS (#9042) 2020-06-30 21:50:59 -05:00
Ben Halpern
0de6e7db5e
[deploy] Add slash back for root link (#9043) 2020-06-30 19:17:18 -04:00
dependabot-preview[bot]
e2b72850b4
Bump jest from 26.0.1 to 26.1.0 (#8965)
Bumps [jest](https://github.com/facebook/jest) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.0.1...v26.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-30 19:07:03 -04:00
Vaidehi Joshi
b8e2d36d36
Optimize WelcomeNotification::Generator by only querying when necessary (#9039) [deploy] 2020-06-30 14:35:45 -07:00
ludwiczakpawel
2c0245dd5c
[deploy] Bringing back the original progress bar (#9019)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .

* .
2020-06-30 17:18:38 -04:00
Molly Struve
dba270f02e
[deploy] Optimization: Default Delete Notifications Older than 3 months (#9038) 2020-06-30 16:15:21 -05:00
A.D. Faris
ab1afd94b0
Fix listing card view reactions formatting (#8988)
* Fix the listing card view reactions format

* Update test to reflect change made in the code base
2020-06-30 16:39:10 -04:00
rhymes
5eaeb584b3
Routine rubocop fixes (#9015)
* rubocop -a

* Routine rubocop fixes
2020-06-30 16:38:39 -04:00
Alberto Pérez de Rada Fiol
9b6ab40572
[deploy] Allow internal chat channels to be searched by their name (#9020)
* Allow internal chat channels to be searched by their name

* Add tests

* Fix test
2020-06-30 14:43:25 -05:00
Alex
347a4bbc75
[deploy] Add contexts and permissions to liquid tags (#8917)
* Make liquid tags adhere to context and permission

* Undo updates to all liquid tags and update error

* ACTUALLY update errors this time

* Typo

* Refactor error handling and add support for Comment

* Fix specs

* Code cleanup

* Prettify error message

* Add comment clarifying error

* parsed --> parse

* Use a policy for validating roles

* Fix pretty error message

* Return early if valid source

* Get rid of duplicate current_user

* Add comment to Pundit.authorize

* LiquidTagPolicy specs

* Update liquid tag docs

* Update docs

* Use parse_context argument for clarity

* Remove duplicate guard clause for VALID_ROLES

* Update docs
2020-06-30 14:53:18 -04:00