Commit graph

5972 commits

Author SHA1 Message Date
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
Ben Lesh
e364a6ad19
Hide secret code from input history (#9032)
Currently, the secret code will show up in the input history. That, I think, means that anyone that can open that page in a shared browser instance could join the org.
2020-06-30 14:26:18 -04:00
dependabot-preview[bot]
ec71478762
Bump knapsack_pro from 1.22.2 to 2.0.0 (#8960) 2020-06-30 14:23:37 -04:00
Mac Siri
0e2fc110b2
[deploy] Delete hello-dev.js (#9025) 2020-06-30 14:13:04 -04:00
Fernando Valverde
2233952ceb
[deploy] Discoverable channel will open CTA to request join if not available (#8999) 2020-06-30 13:03:41 -05:00
Nick Taylor
efc3a124a0
Added spinner/upload message when uploading an image to a post's content (#8986) 2020-06-30 13:52:47 -04:00
Molly Struve
62f89f9c7c
Flaky Spec Fix: Make Sure to Allow All Sites After Reset (#9029) 2020-06-30 12:50:38 -05:00
Molly Struve
0cd40f5ffb
Refactor: Remove Unused UserSimilarity Class and Spec (#9030) 2020-06-30 12:39:34 -05:00
Molly Struve
9d18246875
[deploy] Refactor: Remove Unused Article Suggester Services and Specs (#9031) 2020-06-30 12:06:56 -05:00
Fernando Valverde
336cf119d9
[deploy] Fixes triggerSwitchChannel on channel list load (#8996) 2020-06-30 10:09:36 -06:00
Molly Struve
d9fd170a85
[deploy] Optimization: Dont Use Redis For Flare Tag IDs, Load Them On Boot (#8987) 2020-06-30 09:48:08 -05:00
dependabot-preview[bot]
56736aab15
[deploy] Bump flipper, flipper-active_record and flipper-ui (#8966)
* Bump flipper, flipper-active_record and flipper-ui

Bumps [flipper](https://github.com/jnunemaker/flipper), [flipper-active_record](https://github.com/jnunemaker/flipper) and [flipper-ui](https://github.com/jnunemaker/flipper). These dependencies needed to be updated together.

Updates `flipper` from 0.17.2 to 0.18.0
- [Release notes](https://github.com/jnunemaker/flipper/releases)
- [Changelog](https://github.com/jnunemaker/flipper/blob/master/Changelog.md)
- [Commits](https://github.com/jnunemaker/flipper/compare/v0.17.2...v0.18.0)

Updates `flipper-active_record` from 0.17.2 to 0.18.0
- [Release notes](https://github.com/jnunemaker/flipper/releases)
- [Changelog](https://github.com/jnunemaker/flipper/blob/master/Changelog.md)
- [Commits](https://github.com/jnunemaker/flipper/compare/v0.17.2...v0.18.0)

Updates `flipper-ui` from 0.17.2 to 0.18.0
- [Release notes](https://github.com/jnunemaker/flipper/releases)
- [Changelog](https://github.com/jnunemaker/flipper/blob/master/Changelog.md)
- [Commits](https://github.com/jnunemaker/flipper/compare/v0.17.2...v0.18.0)

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

* Bump flipper, flipper-active_record and flipper-ui (Update vendor/cache)

* Removed outdated flipper UI configuration

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Josh Puetz <josh@dev.to>
2020-06-30 08:19:27 -05:00
OmarElKhatib
f3501d32f5
fix Issue #9013 , badge responsivity (#9014)
* fix Issue #9013 , badge responsivity

* remove d- prefix from d-block

* remove block because it behave the same without it
2020-06-30 12:52:47 +02:00
Mac Siri
d0b0944b32
Disable UserSubscriptionTag::script (#9005) 2020-06-30 09:13:44 +02:00
Jacob Herrington
8c4fd87599
Update maintainers documentation and contribution guides (#8939)
* Update contributing guide

In this change, I tried to simplify the language of the contributing
guide to make it more accessible and less wordy.

I also updated the information in a few places and fixed a couple of
typos.

* Remove table of contents

Since moving this doc to the docs site, our theme generates a ToC
automatically, hardcoding this one is redundant.

* Move the contributing guides

* Update maintainer documentation

This chnage updates the maintainers guide to include information on PR
reviews, deployments, and CI.

Housing this documentation here increases transparency with our
community.

* Edit with PR feedback

* Edit based on PR feedback
2020-06-30 09:11:59 +02:00
ludwiczakpawel
3a69f349be
[deploy] Refactor code blocks styling (#8975)
* flare tag line height

* .

* dropdown fix + actions bar fix

* actions bar on mob

* .

* missing bit

* document

* .

* little fix

* btn--highlight
2020-06-29 21:15:11 -04:00
Jacob Herrington
c0fc10ec1d
Override header padding for internal (#8992) 2020-06-29 20:27:30 -04:00
Ben Halpern
aa855e5f9b
[deploy] Remove dead styling code (#8991) 2020-06-29 20:26:49 -04:00
Molly Struve
619aa0a684
Refactor: Remove Unused and Unecessary Code (#9000) 2020-06-29 17:30:56 -05:00
Molly Struve
b43575aa21
Flaky Spec Fix: Use Host Only For Allowing Webmock Connections (#9001) 2020-06-29 17:28:10 -05:00
dependabot-preview[bot]
f135fd4338
[deploy] Bump pusher-push-notifications from 1.1.0 to 1.2.1 (#8952)
* Bump pusher-push-notifications from 1.1.0 to 1.2.1

Bumps [pusher-push-notifications](https://github.com/pusher/push-notifications-ruby) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/pusher/push-notifications-ruby/releases)
- [Changelog](https://github.com/pusher/push-notifications-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pusher/push-notifications-ruby/compare/v1.1.0...v1.2.1)

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

* update vendored gems

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-06-29 16:14:17 -05:00
dependabot-preview[bot]
aabbc3c5f6
Bump ddtrace from 0.36.0 to 0.37.0 (#8951)
* Bump ddtrace from 0.36.0 to 0.37.0

Bumps [ddtrace](https://github.com/DataDog/dd-trace-rb) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/DataDog/dd-trace-rb/releases)
- [Changelog](https://github.com/DataDog/dd-trace-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/DataDog/dd-trace-rb/compare/v0.36.0...v0.37.0)

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

* update vendored gems

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-06-29 16:13:51 -05:00
Molly Struve
4e0fee644c
[deploy] Feature: Setup Admin Area to Update Vault Secrets (#8935) 2020-06-29 15:08:09 -05:00
dependabot-preview[bot]
bacff174a6
Bump autoprefixer-rails from 9.8.1 to 9.8.4 (#8953) 2020-06-29 15:28:33 -04:00
Yash Dave
83bc91b961
Fix rbenv install failing for windows docs (#8854) 2020-06-29 15:27:58 -04:00
Mac Siri
50a7c2ffe0
Rename dir _tests to __tests__ & update .codeclimate.yml (#8982) 2020-06-29 15:18:39 -04:00
dependabot-preview[bot]
16073c5e49
Bump capybara from 3.32.2 to 3.33.0 (#8967) 2020-06-29 14:56:41 -04:00