Commit graph

6190 commits

Author SHA1 Message Date
Veggier
126367fa4a
Ability for admins to remove user from internal chat channels (#9235)
* change ui

* admins can remove users from internal chat channels

* rename destroy to remove_user

* change syntax

* add a single user

* remove a single user --debug

* remove a single user --debug

* remove a single user

* remove a single user

* remove a single user

* remove a single user

* add test for remove single user from internal chat_channel

* test

* sytax change

* add delete user for channel test

* add more test case for the remove user from chat channel

* change to single test case
2020-07-22 09:43:38 -04:00
Andy Zhao
046dcb8c9e
[deploy] Update slideshare embed code length limit (#9441)
* Make regex check 12 to 14 chars

* Add additional valid key to test
2020-07-22 09:42:54 -04:00
narender2031
0cfc593150
[deploy] 🚀 Feature: Chat channel request manager (#9305)
* Feature 🚀 : Ability to delete messages in chat channels

- Sending message ID to frontend
- Deleting Message
- Use pusher to delete message realtime

* Minor Bug 🐞: Show message action only for current user

- User can delete or edit their own messages

* Test cases added

* Bug 🐞: Update message id for receiver

Message id was not sent to receiver by pusher

* Refactoring🛠: Message controller refactoring

* Test Cases📝 : Specs for Delete message added

* Feature 🚀 : Ability to edit messages

* Test Cases📝 : Specs for Edit message added

* Merge conflict resolved

* request manager info API

* 👨🏼‍🎨 Design added for requestCenter

* integrate request manager with API

* remove unused argument

* fix request manager card UI

* fix request card UI

* add request manager button

* handle no invitaion UI

* fix badge UI

* add request specs

* add jest specs

* remove the presenter

* fix code climate issues

* fix queries

* fix runbocop issues

* fix PR suggestions

* remove empty lines

Co-authored-by: Sarthak Sharma <7lovesharma7@gmail.com>
2020-07-22 09:12:09 -04:00
Zach Attas
cc0231de77
Unflake system user_settings_response_templates_spec.rb (#8845) 2020-07-22 08:04:28 -05:00
Alberto Pérez de Rada Fiol
e35f4a699d
Don't show badge when reading list is left empty (#9437) 2020-07-22 08:55:33 -04:00
jkrsn98
b84f04baa5
API: add nullable to nullable fields in documentation (#9407)
* crossposted_at made nullable

* edited_at made nullable

* cover_image made nullable

* twitter_username made nullable

* github_username made nullable

* website_url made nullable

* user summary made nullable

* user location made nullable
2020-07-22 12:22:45 +02:00
Ben Halpern
ee043905ef
Add new reserved words (#9422)
* Add a few extra reserved words

* Add a few extra reserved words

* Update config/initializers/reserved_words.rb

* Sort words

Co-authored-by: rhymes <rhymes@hey.com>
2020-07-22 12:16:31 +02:00
Michael Kohl
2fe4a36271
[deploy] Add audit logs for credit card actions (#9416)
* Add AuditLog entries for credit card actions

* Update docs

* Update category and slug

* Update audit log example in docs
2020-07-22 08:23:42 +07:00
Mac Siri
5e43911f17
[deploy] Update Honeybadger's ignorePatterns (#9420) 2020-07-21 17:15:36 -04:00
Josh Puetz
28d6ea090f
Correct comment (#9419) 2020-07-21 13:34:20 -05:00
Alex
e9dc639351
[deploy] Add source_type and source_id to safe params list (#9413) 2020-07-21 09:23:05 -04:00
Molly Struve
d79a2133f7
[deploy] Optimization:Change Tweet Primary Key to Bigint (#9409) 2020-07-21 08:08:52 -05:00
Michael Kohl
e3455ef921
Add curl alternatives for ES troubleshooting (#9414) 2020-07-21 13:24:28 +02:00
Emma Goto
47d265f240
Fix hidden footnote content regression (#9375) 2020-07-21 12:32:16 +02:00
Lisa Sy
949b092dbd
[deploy] Update broadcast styling (#9411) 2020-07-20 20:17:53 -04:00
Molly Struve
c99cd29eb2
[deploy] Optimization:Change Role PKs from Int to Bigint (#9403) 2020-07-20 12:26:55 -05:00
Ben Halpern
1b22cdd1c9
[deploy] Change from presence to private pusher channels (#9401) 2020-07-20 12:59:26 -04:00
luigi
7c22026d30
Use Enumerable#filter_map in more places (#9389)
because it's a little faster without lose readability
2020-07-20 18:54:38 +02:00
Fernando Valverde
7c43f30892
[deploy] Change from url to path in form (#9404) 2020-07-20 10:05:31 -06:00
dependabot-preview[bot]
2b219d420a
[deploy] Bump @babel/core from 7.10.4 to 7.10.5 (#9385) 2020-07-20 11:23:13 -04:00
Fernando Valverde
154a3629ee
Add Native bridge video support (#9303) 2020-07-20 11:22:32 -04:00
Athul Cyriac Ajay
f1b3b5a501
Update GitHub link in Markdown Guides (#9377)
* Update GitHub Link to forem/forem

* Update GitHub link to forem/forem

* Update GitHub link to forem/forem
2020-07-20 10:39:41 -04:00
rhymes
6cd64c4071
Rubocop: enable and fix Style/Send and Style/Next (#9366)
* Enable and fix Style/Send

* Enable and fix Style/Next

* Fix private cookies send

* Fix merging indentation issues
2020-07-20 16:28:00 +02:00
dependabot-preview[bot]
c5cf8fa82a
Bump jest-axe from 3.4.0 to 3.5.0 (#9383)
Bumps [jest-axe](https://github.com/nickcolley/jest-axe) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/nickcolley/jest-axe/releases)
- [Changelog](https://github.com/nickcolley/jest-axe/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nickcolley/jest-axe/compare/v3.4.0...v3.5.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-07-20 10:27:49 -04:00
dependabot-preview[bot]
b309ab3be7
Bump eslint from 7.4.0 to 7.5.0 (#9387)
Bumps [eslint](https://github.com/eslint/eslint) from 7.4.0 to 7.5.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/v7.4.0...v7.5.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-07-20 10:27:09 -04:00
Michael Kohl
f28deb9e71
Add regex to check for possible XSS attempts (#9400)
* Fix ruby linting issues

* Added test for uncovered branch

* Fixed typo

* Address PR comments

Co-authored-by: Brian Mayo <ioprotium@gmail.com>
2020-07-20 16:09:26 +02:00
Molly Struve
d9beec9419
[deploy] Optimization:Change Primary Keys on Mentions and Notes to Bigint (#9393) 2020-07-20 09:04:18 -05:00
Molly Struve
10788a5016
Flaky Spec Fix:Clear Elasticsearch FeedContent to avoid trying to load missing images (#9402) 2020-07-20 09:01:42 -05:00
Michael Kohl
a4dadfb728
Standardize ActiveRecord order clauses (#9395)
* Change simple order clauses

* Change nested order clauses
2020-07-20 10:00:51 -04:00
dependabot-preview[bot]
cd1327096c
Bump knapsack_pro from 2.0.0 to 2.1.1 (#9384)
* Bump knapsack_pro from 2.0.0 to 2.1.1

Bumps [knapsack_pro](https://github.com/KnapsackPro/knapsack_pro-ruby) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/KnapsackPro/knapsack_pro-ruby/releases)
- [Changelog](https://github.com/KnapsackPro/knapsack_pro-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v2.0.0...v2.1.1)

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

* Bump knapsack_pro from 2.0.0 to 2.1.1 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-20 08:52:04 -05:00
Piyush Suthar
e8b32c0e51
[deploy] Changed the Typo at "A Published article by path" (#9396) 2020-07-20 09:08:52 -04:00
Jacob Herrington
cc6a79ad57
[deploy] Fix tag input patterns (#9363)
* Fix tag input patterns

* Trigger build

* Increase JS test coverage for CI
2020-07-20 08:06:36 -05:00
Michael Kohl
8dd4a85fba
Introduce domain model for campaigns (#9300)
* Introduce domain model for campaigns

* Move main_tag method to decorator

* Add options argument to decorator method

* Change more code to use Campaign domain model

* active? -> show_in_sidebar? and fix spec

* Switch back to leading dots after merge
2020-07-20 09:04:53 -04:00
Ridhwana
4359d5b09a
[deploy] Site Config: Get Started Section and Show Required Fields (#9289)
* chore: spike

* fix: update doesnt get to symbol

* spelling

* chore: some suggestions

* chore: change name

* chore: content tag and safe join

* chore: keep this open for now

* chore: code climate

* more code climate stuff

* chore: remove commas

* fix: tests

* feat: update the descriptions and placeholders

* chore: update all the variables

* chore: update lines

* feat: update ""

* chore: length line

* feat: content_tag

* chore: disable rubocop:disable Rails/OutputSafety

* feat: collapse the get started section if everything is filled out

* chore: comment

* some cleanup

* codeclimate :(
2020-07-20 08:20:15 -04:00
Sarthak Sharma
3addb64326
[deploy] 🚀 Feature: Chat channel membership manager component (#8945)
* Feature 🚀 : Ability to delete messages in chat channels

- Sending message ID to frontend
- Deleting Message
- Use pusher to delete message realtime

* Minor Bug 🐞: Show message action only for current user

- User can delete or edit their own messages

* Test cases added

* Bug 🐞: Update message id for receiver

Message id was not sent to receiver by pusher

* Refactoring🛠: Message controller refactoring

* Test Cases📝 : Specs for Delete message added

* Feature 🚀 : Ability to edit messages

* Test Cases📝 : Specs for Edit message added

* Merge conflict resolved

* fix video content issue

* add UI for membership management

* add api to update memberahip role

* add methods for manage membership

* Add integration test cases

* add emoji for admin

* Open member profile in sidecar only

* 🐞 Problem with direct channel sidecar

* 🐞 Few other UI enhancements

* fix mod typo

* add limit upto 4 for display active memberships

* fix UI issues

* fix action ui for membership

* fix sidebar redirection issue

* fix svg buttons

* add test cases

* fixed broken spec

* fix PR suggestions

* remove not used code

* fix typo

* fix PR suggestion

* fix typos

* add invitation url expiry

* fix specs

* fix PR suggestions

* removed unused gem

* remove presenter format

* handle invitation link expiry with redis

* fix PR suggestions

* user can view non-discoverable channel invitation link

* fix typos

* remove commented code

* add spacing

* PR suggestions

* remove class from button

* replace componentDidMount with commen function

* remove action button for single membership

* add chat message on update role

* add spece between lines

Co-authored-by: Narender Singh <narender2031@gmail.com>
Co-authored-by: Fernando Valverde <fdov88@gmail.com>
2020-07-20 08:08:31 -04:00
dependabot-preview[bot]
803d482f90
Bump test-prof from 0.11.3 to 0.12.0 (#9386)
* Bump test-prof from 0.11.3 to 0.12.0

Bumps [test-prof](https://github.com/palkan/test-prof) from 0.11.3 to 0.12.0.
- [Release notes](https://github.com/palkan/test-prof/releases)
- [Changelog](https://github.com/palkan/test-prof/blob/master/CHANGELOG.md)
- [Commits](https://github.com/palkan/test-prof/compare/v0.11.3...v0.12.0)

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

* Bump test-prof from 0.11.3 to 0.12.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-20 09:53:55 +02:00
Molly Struve
914e8b80a8
[deploy] Optimization:Change Broadcast and GithubIssue PKs to Bigint (#9372) 2020-07-19 17:41:37 -05:00
dependabot-preview[bot]
f5fe706ce7
[deploy] Bump @testing-library/jest-dom from 5.11.0 to 5.11.1 (#9381)
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.0 to 5.11.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.0...v5.11.1)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-19 18:29:55 -04:00
dependabot-preview[bot]
ee22a35658
Bump preact from 10.4.5 to 10.4.6 (#9388)
Bumps [preact](https://github.com/preactjs/preact) from 10.4.5 to 10.4.6.
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.4.5...10.4.6)

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

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-19 16:39:16 -04:00
dependabot-preview[bot]
2636d600a2
Bump rouge from 3.20.0 to 3.21.0 (#9382)
* Bump rouge from 3.20.0 to 3.21.0

Bumps [rouge](https://github.com/rouge-ruby/rouge) from 3.20.0 to 3.21.0.
- [Release notes](https://github.com/rouge-ruby/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rouge-ruby/rouge/compare/v3.20.0...v3.21.0)

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

* Bump rouge from 3.20.0 to 3.21.0 (Update vendor/cache)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-19 16:36:56 -04:00
Molly Struve
129b60772c
[deploy] Refactor:Drop Blocks Table (#9373) 2020-07-17 16:29:05 -05:00
Molly Struve
62d43a1ce7
[deploy] Refactor: Remove Block Model and All Related Code (#9370) 2020-07-17 15:32:39 -05:00
benhalpern
b564592a4e Fix test typo 2020-07-17 13:38:47 -04:00
Cain Watson
6853e103ae
Fix reading list rendering multiple times (#9364) 2020-07-17 07:53:43 -04:00
Josh Puetz
73a3bcc68a
Attempt to turn off Flipper UI CSRF protections (#9360) [deploy]
* Turn off flipper ui CSRF

* Turn off CSRF protection in Flipper UI
2020-07-16 21:56:11 -05:00
shelby spees
a6c4f0b884
[deploy] Update NoiseCancellingSampler to make it more self-documenting (#9359) 2020-07-16 15:06:49 -05:00
benhalpern
dcf3af7cff Fix test copy 2020-07-16 15:16:18 -04:00
Molly Struve
397c9ed2bf
[deploy] Bug Fix: Refresh Hypershield after db:prepare if Enabled (#9353) 2020-07-16 13:50:22 -05:00
Josh Puetz
e9cafe5de6
Add logging to Flipper UI (#9355) [deploy] 2020-07-16 11:47:54 -05:00
Jacob Herrington
9e08ae6f1f
[deploy] Restrict tags input regex (#9172) 2020-07-16 12:28:03 -04:00