* 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>
* 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>
* 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
* 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
* 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.
* 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
* 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
* 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
* 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
* 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