Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW] Implement a local password policy #9857

Merged
merged 5 commits into from
May 20, 2018
Merged

Conversation

graywolf336
Copy link
Contributor

@graywolf336 graywolf336 commented Feb 23, 2018

Adds some settings to configure the policy set forth on the passwords.

Closes #2171

@engelgabriel engelgabriel temporarily deployed to rocket-chat-pr-9857 February 23, 2018 05:31 Inactive
Copy link

@didierhk didierhk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works as intended

@ruKurz
Copy link
Contributor

ruKurz commented Feb 23, 2018

#2171

@ruKurz
Copy link
Contributor

ruKurz commented Feb 23, 2018

From the user perspective it would be great to see the constraints when setting a new password.

Situation
As a user, I want to change my password. After entering a password, that does not match the required criteria, I get a message that only tells me that the password does not fulfill the policy.

Expected behavior
The user is provided by an visual description that explains the required criteria in a human friendly presentation.

Nice to have
When not matching the policy, the user gets an information which of the criteria is not fulfilled.

@graywolf336
Copy link
Contributor Author

@ruKurz Do you mind creating a new issue for that? As that will require some UX/UI work from @arthurgiustina

@ruKurz
Copy link
Contributor

ruKurz commented Feb 23, 2018

@graywolf336 sure we can create a new issue.
Other than that I would like to discuss with you how to proceed with other security related issues. May I write an email or which channel do you prefer skype?

@ruKurz
Copy link
Contributor

ruKurz commented Feb 23, 2018

I created a separate Issue: #9871

@didierhk
Copy link

Hi guys, any update regarding this feature?

@didierhk
Copy link

@engelgabriel can this feature be reviewed ?

@graywolf336 graywolf336 added this to the 0.64.0 milestone Apr 9, 2018
Hudell
Hudell previously requested changes Apr 20, 2018
Copy link
Contributor

@Hudell Hudell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user is not being prevented from using bad passwords when changing it through their profile page.

"Accounts_Password_Policy_ForbidRepeatingCharacters": "Forbid Repeating Characters",
"Accounts_Password_Policy_ForbidRepeatingCharacters_Description": "Ensures passwords do not contain the same character repeating next to each other.",
"Accounts_Password_Policy_ForbidRepeatingCharactersCount": "Max Repeating Characters",
"Accounts_Password_Policy_ForbidRepeatingCharactersCount_Description": "The amount of times a character can be repeating before it is not allowed.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this description doesn't match the implementation. If I set the max character count to 3, should it accept 3 and block 4 or accept 2 and block 3?

Based on the description I would think it would be the first, but it was implemented the other way.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now it's working like the description

@marceloschmidt marceloschmidt modified the milestones: 0.64.0, 0.65.0 May 10, 2018
@sampaiodiego
Copy link
Member

@graywolf336 can you please review if either the logic or the description is incorrect? thx

# Conflicts:
#	packages/rocketchat-i18n/i18n/en.i18n.json
@rodrigok rodrigok temporarily deployed to rocket-chat-pr-9857 May 19, 2018 18:29 Inactive
@rodrigok rodrigok temporarily deployed to rocket-chat-pr-9857 May 19, 2018 19:33 Inactive
@rodrigok rodrigok force-pushed the password-policy-local branch from 7b627aa to 0f307ad Compare May 19, 2018 19:56
@rodrigok rodrigok temporarily deployed to rocket-chat-pr-9857 May 19, 2018 19:57 Inactive
@rodrigok rodrigok temporarily deployed to rocket-chat-pr-9857 May 19, 2018 22:46 Inactive
import 'babel-polyfill';
import assert from 'assert';

import PasswordPoliceClass from '../server/lib/PasswordPolicyClass';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: the class name is actually PasswordPolicyClass and not PasswordPoliceClass..

Copy link
Contributor Author

@graywolf336 graywolf336 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and much cleaner with the class style. I am glad we are now moving towards that direct. :)

@rodrigok rodrigok merged commit 3ed656b into develop May 20, 2018
@rodrigok rodrigok deleted the password-policy-local branch May 20, 2018 20:49
@pkuser
Copy link

pkuser commented May 22, 2018

it will be possible to set a password's validity period????

This was referenced May 27, 2018
rodrigok added a commit that referenced this pull request May 28, 2018
* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Stop caching private settings (#10625)

* [NEW] Add REST API endpoints `channels.setCustomFields` and `groups.setCustomFields` (#9733)

* Add channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Delete unused `user` parameter
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add tests for channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Propogate setCustomFields to Subscriptions
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix semicolon
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [NEW] Add REST API endpoints `channels.counters`, `groups.counters and `im.counters` (#9679)

* Add countVisibleByRoomIdBetweenTimestampsInclusive
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.counters, groups.counters, im.counters
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix spaces
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fixes
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #2
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #3
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.couters and groups.couters tests
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix tests, last message and unread message times
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix last message and unread message times for IM
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add im.counters test
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix for msgs=0
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [FIX] UI was not disabling the actions when users has had no permissions to create channels or add users to rooms (#10564)

* hide plus icon when user doesn't have both permission for create-c and create-p

* add helper to checkout two permissions set initial value for the room type

* hide the plus icon in directory if user doesn't have both create-c and creat-p permissions

* get permissions for create channels and groups

* check if user can add channel hide and groups, hide button based upon correct state

* prevent add user button from being hidden when user has permission add user to joined room

* removed the if statement and use short hand if else syntax

* better code for disabling checkbox in create room feature if user doesn't have permission

* add missing simicolon

* put canShowAddUsersButton into seperate function call function in events and helpers

* move the canShowAddUsersButton function to define before it's called

* fix bug that prevents the viewing of the keyboard shortcuts button in groups and direct messages

* fix permissions

* Add verification to authorize get images with X-user-id and X-auth-token (#10741)

* [FIX] Fix rest /me endpoint (#10662)

[NEW] REST API endpoint `/me` now returns all the settings, including the default values

* Add REST endpoint to mark messages as unread (#10778)

[NEW] Add REST endpoint `subscriptions.unread` to mark messages as unread

* [NEW] REST API endpoint `settings` now allow set colors and trigger actions (#10488)

* edited settings-api to execute button event

* FIx identation and defer await

* removing the defer and waiting for the method to execute

* Add Rest endpoint to get username suggestion (#10702)

* major dependencies update (#10661)

* Remove old translations (#10448)

* [FIX] disable/enable System Messages (#10704)

[FIX] Missing option to disable/enable System Messages

* [NEW] View pinned message's attachment (#10214)

* displays pinned file's attachments

* handles pin for replies and quotes

* fix review

* [FIX] Enabling "Collapse Embedded Media by Default" hides replies, quotes (#10427)

[FIX] Enabling `Collapse Embedded Media by Default` was hiding replies and quotes

* [NEW] lazy load image attachments (#10608)

[NEW] Lazy load image attachments

* Develop sync (#10815)

* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Bump version to 0.65.0-develop

* [NEW] Return the result of the `/me` endpoint within the result of the `/login` endpoint (#10677)

* Add response of the /me endpoint to /login endpoint

* change underscore use to ES6 object destructuring

* The Livechat settings of the 'color' types  were not appearing correctly in the administrative area. (#10612)

* [NEW] Enable/disable Livechat registration form fields (#10584)

[NEW] Options to enable/disable each Livechat registration form field

* When a manager tried to send a message in a live room, an error was being displayed because there is no subscription for the manager. (#10663)

[FIX] Livechat managers were not being able to send messages in some cases

* [NEW] Implement a local password policy (#9857)

* Implement a local password policy

* Improve ValidatePasswordPolicy and create tests

* Validate user’s password on method saveUserProfile

* Fix typo PasswordPoliceClass

* Apps: Command Previews, Message and Room Removal Events (#10822)

* Add message and room removal events for Apps, fix a few other issues

* First very rough draft of the slash command preview

* Add the command preview rest api and make the previews selectable via the keyboard

* Add loading i18n

* Remove duplicated toLowerCase()

* Bump version to 0.65.0-rc.0

* Update room.html (#10715)

Fix working of cancel button in progress bar, while uploading file.

* [NEW] Add view-broadcast-member-list permission (#10753)

[NEW] Add permission `view-broadcast-member-list`

* [FIX] Livechat sidebar using "Unread on Top" user preference (#10734)

[FIX] User's preference `Unread on Top` wasn't working for LiveChat rooms

* Fix REST /me regression (#10833)

Fix: Regression in REST API endpoint `/me`

* [FIX] Broadcast/ Read only issues (#10835)

[FIX] Broadcast channels were showing reply button for deleted messages and generating wrong reply links some times

* Create temp folder if it doesn't exist (#10837)

* Fix: Regression on users avatar in admin pages (#10836)

* fix avatar admin lists

* Update messagePopup.js

* Bump version to 0.65.0-rc.1

* Fix: Clarify the wording of the release issue template (#10520)

* Clarify the wording of the release issue template

* Update release.md

* Regression: Make settings `Site_Name` and `Language` public again (#10848)

* Fix layout badge cutting on unread messages for long names (#10846)

[FIX] Layout badge cutting on unread messages for long names

* [FIX] Missing pagination fields in the response of REST /directory endpoint (#10840)

* Add missing pagination fields in the response of REST /directory endpoint

* Add support to choose sort field in REST directory

* Allow click on command previews and add setting to control apps enablement (#10853)

* Regression: Fix email notification preference not showing correct selected value (#10847)

* Fix email notification preference not showing correct selected value

Closes #10844

* Save email notification preferences correctly

Closes #10787

* Create room with user notification preferences

* Add back the uploaded file message on push notifications

* Bump version to 0.65.0-rc.2

* [FIX] The first users was not set as admin some times (#10878)

* Fixed a typo on error message for push token API (#10857)

Fix: typo on error message for push token API

* Adds flex-box to preview commands (#10883)

* Fix: Regression Lazyload fix shuffle avatars (#10887)

* fix avatar admin lists

* test to fix shuffle avatars

* LingoHub Update 🚀 (#10886)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Manage apps layout (#10882)

Fix: Manage apps layout was a bit confuse

* Fixed slackbridge (#10875)

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0
rodrigok added a commit that referenced this pull request May 28, 2018
* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Release 0.64.2 (#10812)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Bump version to 0.64.2-rc.0

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* Bump version to 0.64.2-rc.1

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Bump version to 0.64.2-rc.2

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Bump version to 0.64.2

* Release 0.65.0 (#10893)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Stop caching private settings (#10625)

* [NEW] Add REST API endpoints `channels.setCustomFields` and `groups.setCustomFields` (#9733)

* Add channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Delete unused `user` parameter
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add tests for channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Propogate setCustomFields to Subscriptions
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix semicolon
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [NEW] Add REST API endpoints `channels.counters`, `groups.counters and `im.counters` (#9679)

* Add countVisibleByRoomIdBetweenTimestampsInclusive
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.counters, groups.counters, im.counters
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix spaces
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fixes
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #2
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #3
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.couters and groups.couters tests
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix tests, last message and unread message times
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix last message and unread message times for IM
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add im.counters test
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix for msgs=0
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [FIX] UI was not disabling the actions when users has had no permissions to create channels or add users to rooms (#10564)

* hide plus icon when user doesn't have both permission for create-c and create-p

* add helper to checkout two permissions set initial value for the room type

* hide the plus icon in directory if user doesn't have both create-c and creat-p permissions

* get permissions for create channels and groups

* check if user can add channel hide and groups, hide button based upon correct state

* prevent add user button from being hidden when user has permission add user to joined room

* removed the if statement and use short hand if else syntax

* better code for disabling checkbox in create room feature if user doesn't have permission

* add missing simicolon

* put canShowAddUsersButton into seperate function call function in events and helpers

* move the canShowAddUsersButton function to define before it's called

* fix bug that prevents the viewing of the keyboard shortcuts button in groups and direct messages

* fix permissions

* Add verification to authorize get images with X-user-id and X-auth-token (#10741)

* [FIX] Fix rest /me endpoint (#10662)

[NEW] REST API endpoint `/me` now returns all the settings, including the default values

* Add REST endpoint to mark messages as unread (#10778)

[NEW] Add REST endpoint `subscriptions.unread` to mark messages as unread

* [NEW] REST API endpoint `settings` now allow set colors and trigger actions (#10488)

* edited settings-api to execute button event

* FIx identation and defer await

* removing the defer and waiting for the method to execute

* Add Rest endpoint to get username suggestion (#10702)

* major dependencies update (#10661)

* Remove old translations (#10448)

* [FIX] disable/enable System Messages (#10704)

[FIX] Missing option to disable/enable System Messages

* [NEW] View pinned message's attachment (#10214)

* displays pinned file's attachments

* handles pin for replies and quotes

* fix review

* [FIX] Enabling "Collapse Embedded Media by Default" hides replies, quotes (#10427)

[FIX] Enabling `Collapse Embedded Media by Default` was hiding replies and quotes

* [NEW] lazy load image attachments (#10608)

[NEW] Lazy load image attachments

* Develop sync (#10815)

* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Bump version to 0.65.0-develop

* [NEW] Return the result of the `/me` endpoint within the result of the `/login` endpoint (#10677)

* Add response of the /me endpoint to /login endpoint

* change underscore use to ES6 object destructuring

* The Livechat settings of the 'color' types  were not appearing correctly in the administrative area. (#10612)

* [NEW] Enable/disable Livechat registration form fields (#10584)

[NEW] Options to enable/disable each Livechat registration form field

* When a manager tried to send a message in a live room, an error was being displayed because there is no subscription for the manager. (#10663)

[FIX] Livechat managers were not being able to send messages in some cases

* [NEW] Implement a local password policy (#9857)

* Implement a local password policy

* Improve ValidatePasswordPolicy and create tests

* Validate user’s password on method saveUserProfile

* Fix typo PasswordPoliceClass

* Apps: Command Previews, Message and Room Removal Events (#10822)

* Add message and room removal events for Apps, fix a few other issues

* First very rough draft of the slash command preview

* Add the command preview rest api and make the previews selectable via the keyboard

* Add loading i18n

* Remove duplicated toLowerCase()

* Bump version to 0.65.0-rc.0

* Update room.html (#10715)

Fix working of cancel button in progress bar, while uploading file.

* [NEW] Add view-broadcast-member-list permission (#10753)

[NEW] Add permission `view-broadcast-member-list`

* [FIX] Livechat sidebar using "Unread on Top" user preference (#10734)

[FIX] User's preference `Unread on Top` wasn't working for LiveChat rooms

* Fix REST /me regression (#10833)

Fix: Regression in REST API endpoint `/me`

* [FIX] Broadcast/ Read only issues (#10835)

[FIX] Broadcast channels were showing reply button for deleted messages and generating wrong reply links some times

* Create temp folder if it doesn't exist (#10837)

* Fix: Regression on users avatar in admin pages (#10836)

* fix avatar admin lists

* Update messagePopup.js

* Bump version to 0.65.0-rc.1

* Fix: Clarify the wording of the release issue template (#10520)

* Clarify the wording of the release issue template

* Update release.md

* Regression: Make settings `Site_Name` and `Language` public again (#10848)

* Fix layout badge cutting on unread messages for long names (#10846)

[FIX] Layout badge cutting on unread messages for long names

* [FIX] Missing pagination fields in the response of REST /directory endpoint (#10840)

* Add missing pagination fields in the response of REST /directory endpoint

* Add support to choose sort field in REST directory

* Allow click on command previews and add setting to control apps enablement (#10853)

* Regression: Fix email notification preference not showing correct selected value (#10847)

* Fix email notification preference not showing correct selected value

Closes #10844

* Save email notification preferences correctly

Closes #10787

* Create room with user notification preferences

* Add back the uploaded file message on push notifications

* Bump version to 0.65.0-rc.2

* [FIX] The first users was not set as admin some times (#10878)

* Fixed a typo on error message for push token API (#10857)

Fix: typo on error message for push token API

* Adds flex-box to preview commands (#10883)

* Fix: Regression Lazyload fix shuffle avatars (#10887)

* fix avatar admin lists

* test to fix shuffle avatars

* LingoHub Update 🚀 (#10886)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Manage apps layout (#10882)

Fix: Manage apps layout was a bit confuse

* Fixed slackbridge (#10875)

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0

* Bump version to 0.66.0-develop

* Update HISTORY.md
rodrigok added a commit that referenced this pull request May 28, 2018
* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Release 0.64.2 (#10812)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Bump version to 0.64.2-rc.0

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* Bump version to 0.64.2-rc.1

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Bump version to 0.64.2-rc.2

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Bump version to 0.64.2

* Bump version to 0.65.0-rc.0

* Bump version to 0.65.0-rc.1

* Bump version to 0.65.0-rc.2

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0

* Release 0.65.0 (#10893)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Stop caching private settings (#10625)

* [NEW] Add REST API endpoints `channels.setCustomFields` and `groups.setCustomFields` (#9733)

* Add channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Delete unused `user` parameter
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add tests for channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Propogate setCustomFields to Subscriptions
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix semicolon
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [NEW] Add REST API endpoints `channels.counters`, `groups.counters and `im.counters` (#9679)

* Add countVisibleByRoomIdBetweenTimestampsInclusive
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.counters, groups.counters, im.counters
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix spaces
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fixes
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #2
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #3
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.couters and groups.couters tests
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix tests, last message and unread message times
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix last message and unread message times for IM
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add im.counters test
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix for msgs=0
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [FIX] UI was not disabling the actions when users has had no permissions to create channels or add users to rooms (#10564)

* hide plus icon when user doesn't have both permission for create-c and create-p

* add helper to checkout two permissions set initial value for the room type

* hide the plus icon in directory if user doesn't have both create-c and creat-p permissions

* get permissions for create channels and groups

* check if user can add channel hide and groups, hide button based upon correct state

* prevent add user button from being hidden when user has permission add user to joined room

* removed the if statement and use short hand if else syntax

* better code for disabling checkbox in create room feature if user doesn't have permission

* add missing simicolon

* put canShowAddUsersButton into seperate function call function in events and helpers

* move the canShowAddUsersButton function to define before it's called

* fix bug that prevents the viewing of the keyboard shortcuts button in groups and direct messages

* fix permissions

* Add verification to authorize get images with X-user-id and X-auth-token (#10741)

* [FIX] Fix rest /me endpoint (#10662)

[NEW] REST API endpoint `/me` now returns all the settings, including the default values

* Add REST endpoint to mark messages as unread (#10778)

[NEW] Add REST endpoint `subscriptions.unread` to mark messages as unread

* [NEW] REST API endpoint `settings` now allow set colors and trigger actions (#10488)

* edited settings-api to execute button event

* FIx identation and defer await

* removing the defer and waiting for the method to execute

* Add Rest endpoint to get username suggestion (#10702)

* major dependencies update (#10661)

* Remove old translations (#10448)

* [FIX] disable/enable System Messages (#10704)

[FIX] Missing option to disable/enable System Messages

* [NEW] View pinned message's attachment (#10214)

* displays pinned file's attachments

* handles pin for replies and quotes

* fix review

* [FIX] Enabling "Collapse Embedded Media by Default" hides replies, quotes (#10427)

[FIX] Enabling `Collapse Embedded Media by Default` was hiding replies and quotes

* [NEW] lazy load image attachments (#10608)

[NEW] Lazy load image attachments

* Develop sync (#10815)

* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Bump version to 0.65.0-develop

* [NEW] Return the result of the `/me` endpoint within the result of the `/login` endpoint (#10677)

* Add response of the /me endpoint to /login endpoint

* change underscore use to ES6 object destructuring

* The Livechat settings of the 'color' types  were not appearing correctly in the administrative area. (#10612)

* [NEW] Enable/disable Livechat registration form fields (#10584)

[NEW] Options to enable/disable each Livechat registration form field

* When a manager tried to send a message in a live room, an error was being displayed because there is no subscription for the manager. (#10663)

[FIX] Livechat managers were not being able to send messages in some cases

* [NEW] Implement a local password policy (#9857)

* Implement a local password policy

* Improve ValidatePasswordPolicy and create tests

* Validate user’s password on method saveUserProfile

* Fix typo PasswordPoliceClass

* Apps: Command Previews, Message and Room Removal Events (#10822)

* Add message and room removal events for Apps, fix a few other issues

* First very rough draft of the slash command preview

* Add the command preview rest api and make the previews selectable via the keyboard

* Add loading i18n

* Remove duplicated toLowerCase()

* Bump version to 0.65.0-rc.0

* Update room.html (#10715)

Fix working of cancel button in progress bar, while uploading file.

* [NEW] Add view-broadcast-member-list permission (#10753)

[NEW] Add permission `view-broadcast-member-list`

* [FIX] Livechat sidebar using "Unread on Top" user preference (#10734)

[FIX] User's preference `Unread on Top` wasn't working for LiveChat rooms

* Fix REST /me regression (#10833)

Fix: Regression in REST API endpoint `/me`

* [FIX] Broadcast/ Read only issues (#10835)

[FIX] Broadcast channels were showing reply button for deleted messages and generating wrong reply links some times

* Create temp folder if it doesn't exist (#10837)

* Fix: Regression on users avatar in admin pages (#10836)

* fix avatar admin lists

* Update messagePopup.js

* Bump version to 0.65.0-rc.1

* Fix: Clarify the wording of the release issue template (#10520)

* Clarify the wording of the release issue template

* Update release.md

* Regression: Make settings `Site_Name` and `Language` public again (#10848)

* Fix layout badge cutting on unread messages for long names (#10846)

[FIX] Layout badge cutting on unread messages for long names

* [FIX] Missing pagination fields in the response of REST /directory endpoint (#10840)

* Add missing pagination fields in the response of REST /directory endpoint

* Add support to choose sort field in REST directory

* Allow click on command previews and add setting to control apps enablement (#10853)

* Regression: Fix email notification preference not showing correct selected value (#10847)

* Fix email notification preference not showing correct selected value

Closes #10844

* Save email notification preferences correctly

Closes #10787

* Create room with user notification preferences

* Add back the uploaded file message on push notifications

* Bump version to 0.65.0-rc.2

* [FIX] The first users was not set as admin some times (#10878)

* Fixed a typo on error message for push token API (#10857)

Fix: typo on error message for push token API

* Adds flex-box to preview commands (#10883)

* Fix: Regression Lazyload fix shuffle avatars (#10887)

* fix avatar admin lists

* test to fix shuffle avatars

* LingoHub Update 🚀 (#10886)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Manage apps layout (#10882)

Fix: Manage apps layout was a bit confuse

* Fixed slackbridge (#10875)

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0
@ruKurz ruKurz mentioned this pull request Mar 22, 2020
Kishn0109 pushed a commit to Kishn0109/Rocket.Chat that referenced this pull request May 26, 2023
* add redhat dockerfile to master (RocketChat#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (RocketChat#10476)

* [FIX] Even TypeErrors with SAML (RocketChat#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (RocketChat#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (RocketChat#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Release 0.64.2 (RocketChat#10812)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (RocketChat#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (RocketChat#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (RocketChat#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (RocketChat#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (RocketChat#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (RocketChat#10705)

* [BREAK] Improvements to notifications logic (RocketChat#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (RocketChat#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (RocketChat#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (RocketChat#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (RocketChat#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (RocketChat#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (RocketChat#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (RocketChat#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Bump version to 0.64.2-rc.0

* Fix notifications for direct messages (RocketChat#10760)

* Add setting and expose prometheus on port 9100 (RocketChat#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (RocketChat#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (RocketChat#10779)

* Better metric for notifications (RocketChat#10786)

* Improvement to push notifications on direct messages (RocketChat#10788)

* Prometheus: Improve metric names (RocketChat#10789)

* Bump version to 0.64.2-rc.1

* [FIX] Not escaping special chars on mentions (RocketChat#10793)

* Regression: Fix wrong wizard field name (RocketChat#10804)

* Prometheus: Fix notification metric (RocketChat#10803)

* Regression: Autorun of wizard was not destroyed after completion (RocketChat#10802)

* Prometheus: Add metric to track hooks time (RocketChat#10798)

* Bump version to 0.64.2-rc.2

* Prevent setup wizard redirects (RocketChat#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Bump version to 0.64.2

* Bump version to 0.65.0-rc.0

* Bump version to 0.65.0-rc.1

* Bump version to 0.65.0-rc.2

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0

* Release 0.65.0 (RocketChat#10893)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (RocketChat#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (RocketChat#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (RocketChat#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (RocketChat#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (RocketChat#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (RocketChat#10705)

* [BREAK] Improvements to notifications logic (RocketChat#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (RocketChat#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (RocketChat#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (RocketChat#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (RocketChat#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (RocketChat#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (RocketChat#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (RocketChat#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Fix notifications for direct messages (RocketChat#10760)

* Add setting and expose prometheus on port 9100 (RocketChat#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (RocketChat#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (RocketChat#10779)

* Better metric for notifications (RocketChat#10786)

* Improvement to push notifications on direct messages (RocketChat#10788)

* Prometheus: Improve metric names (RocketChat#10789)

* [FIX] Not escaping special chars on mentions (RocketChat#10793)

* Regression: Fix wrong wizard field name (RocketChat#10804)

* Prometheus: Fix notification metric (RocketChat#10803)

* Regression: Autorun of wizard was not destroyed after completion (RocketChat#10802)

* Prometheus: Add metric to track hooks time (RocketChat#10798)

* Prevent setup wizard redirects (RocketChat#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Stop caching private settings (RocketChat#10625)

* [NEW] Add REST API endpoints `channels.setCustomFields` and `groups.setCustomFields` (RocketChat#9733)

* Add channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Delete unused `user` parameter
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add tests for channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Propogate setCustomFields to Subscriptions
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix semicolon
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [NEW] Add REST API endpoints `channels.counters`, `groups.counters and `im.counters` (RocketChat#9679)

* Add countVisibleByRoomIdBetweenTimestampsInclusive
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.counters, groups.counters, im.counters
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix spaces
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fixes
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix RocketChat#2
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix RocketChat#3
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.couters and groups.couters tests
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix tests, last message and unread message times
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix last message and unread message times for IM
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add im.counters test
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix for msgs=0
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [FIX] UI was not disabling the actions when users has had no permissions to create channels or add users to rooms (RocketChat#10564)

* hide plus icon when user doesn't have both permission for create-c and create-p

* add helper to checkout two permissions set initial value for the room type

* hide the plus icon in directory if user doesn't have both create-c and creat-p permissions

* get permissions for create channels and groups

* check if user can add channel hide and groups, hide button based upon correct state

* prevent add user button from being hidden when user has permission add user to joined room

* removed the if statement and use short hand if else syntax

* better code for disabling checkbox in create room feature if user doesn't have permission

* add missing simicolon

* put canShowAddUsersButton into seperate function call function in events and helpers

* move the canShowAddUsersButton function to define before it's called

* fix bug that prevents the viewing of the keyboard shortcuts button in groups and direct messages

* fix permissions

* Add verification to authorize get images with X-user-id and X-auth-token (RocketChat#10741)

* [FIX] Fix rest /me endpoint (RocketChat#10662)

[NEW] REST API endpoint `/me` now returns all the settings, including the default values

* Add REST endpoint to mark messages as unread (RocketChat#10778)

[NEW] Add REST endpoint `subscriptions.unread` to mark messages as unread

* [NEW] REST API endpoint `settings` now allow set colors and trigger actions (RocketChat#10488)

* edited settings-api to execute button event

* FIx identation and defer await

* removing the defer and waiting for the method to execute

* Add Rest endpoint to get username suggestion (RocketChat#10702)

* major dependencies update (RocketChat#10661)

* Remove old translations (RocketChat#10448)

* [FIX] disable/enable System Messages (RocketChat#10704)

[FIX] Missing option to disable/enable System Messages

* [NEW] View pinned message's attachment (RocketChat#10214)

* displays pinned file's attachments

* handles pin for replies and quotes

* fix review

* [FIX] Enabling "Collapse Embedded Media by Default" hides replies, quotes (RocketChat#10427)

[FIX] Enabling `Collapse Embedded Media by Default` was hiding replies and quotes

* [NEW] lazy load image attachments (RocketChat#10608)

[NEW] Lazy load image attachments

* Develop sync (RocketChat#10815)

* add redhat dockerfile to master (RocketChat#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (RocketChat#10476)

* [FIX] Even TypeErrors with SAML (RocketChat#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (RocketChat#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (RocketChat#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Bump version to 0.65.0-develop

* [NEW] Return the result of the `/me` endpoint within the result of the `/login` endpoint (RocketChat#10677)

* Add response of the /me endpoint to /login endpoint

* change underscore use to ES6 object destructuring

* The Livechat settings of the 'color' types  were not appearing correctly in the administrative area. (RocketChat#10612)

* [NEW] Enable/disable Livechat registration form fields (RocketChat#10584)

[NEW] Options to enable/disable each Livechat registration form field

* When a manager tried to send a message in a live room, an error was being displayed because there is no subscription for the manager. (RocketChat#10663)

[FIX] Livechat managers were not being able to send messages in some cases

* [NEW] Implement a local password policy (RocketChat#9857)

* Implement a local password policy

* Improve ValidatePasswordPolicy and create tests

* Validate user’s password on method saveUserProfile

* Fix typo PasswordPoliceClass

* Apps: Command Previews, Message and Room Removal Events (RocketChat#10822)

* Add message and room removal events for Apps, fix a few other issues

* First very rough draft of the slash command preview

* Add the command preview rest api and make the previews selectable via the keyboard

* Add loading i18n

* Remove duplicated toLowerCase()

* Bump version to 0.65.0-rc.0

* Update room.html (RocketChat#10715)

Fix working of cancel button in progress bar, while uploading file.

* [NEW] Add view-broadcast-member-list permission (RocketChat#10753)

[NEW] Add permission `view-broadcast-member-list`

* [FIX] Livechat sidebar using "Unread on Top" user preference (RocketChat#10734)

[FIX] User's preference `Unread on Top` wasn't working for LiveChat rooms

* Fix REST /me regression (RocketChat#10833)

Fix: Regression in REST API endpoint `/me`

* [FIX] Broadcast/ Read only issues (RocketChat#10835)

[FIX] Broadcast channels were showing reply button for deleted messages and generating wrong reply links some times

* Create temp folder if it doesn't exist (RocketChat#10837)

* Fix: Regression on users avatar in admin pages (RocketChat#10836)

* fix avatar admin lists

* Update messagePopup.js

* Bump version to 0.65.0-rc.1

* Fix: Clarify the wording of the release issue template (RocketChat#10520)

* Clarify the wording of the release issue template

* Update release.md

* Regression: Make settings `Site_Name` and `Language` public again (RocketChat#10848)

* Fix layout badge cutting on unread messages for long names (RocketChat#10846)

[FIX] Layout badge cutting on unread messages for long names

* [FIX] Missing pagination fields in the response of REST /directory endpoint (RocketChat#10840)

* Add missing pagination fields in the response of REST /directory endpoint

* Add support to choose sort field in REST directory

* Allow click on command previews and add setting to control apps enablement (RocketChat#10853)

* Regression: Fix email notification preference not showing correct selected value (RocketChat#10847)

* Fix email notification preference not showing correct selected value

Closes RocketChat#10844

* Save email notification preferences correctly

Closes RocketChat#10787

* Create room with user notification preferences

* Add back the uploaded file message on push notifications

* Bump version to 0.65.0-rc.2

* [FIX] The first users was not set as admin some times (RocketChat#10878)

* Fixed a typo on error message for push token API (RocketChat#10857)

Fix: typo on error message for push token API

* Adds flex-box to preview commands (RocketChat#10883)

* Fix: Regression Lazyload fix shuffle avatars (RocketChat#10887)

* fix avatar admin lists

* test to fix shuffle avatars

* LingoHub Update 🚀 (RocketChat#10886)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Manage apps layout (RocketChat#10882)

Fix: Manage apps layout was a bit confuse

* Fixed slackbridge (RocketChat#10875)

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0
janainaCoelhoRocketchat pushed a commit that referenced this pull request Aug 18, 2023
* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Release 0.64.2 (#10812)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Bump version to 0.64.2-rc.0

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* Bump version to 0.64.2-rc.1

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Bump version to 0.64.2-rc.2

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Bump version to 0.64.2

* Bump version to 0.65.0-rc.0

* Bump version to 0.65.0-rc.1

* Bump version to 0.65.0-rc.2

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0

* Release 0.65.0 (#10893)

* changed saml integration to store data on mongo instead of memory

* Update saml_server.js

*  [FIX] Fix create channel, when created a readonly channel (#10665)

[FIX] Channel owner was being set as muted when creating a read-only channel

* Correct links to Rocket.Chat documentation (#10674)

Correct links in README file

* Fix flickering on message-box emoji icon (#10678)

[FIX] Message box emoji icon was flickering when typing a text

* add `npm run postinstall` into build script (#10524)

Add `npm run postinstall` into example build script

* [FIX] Improve desktop notification formatting (#10445)

* Improved notification formatting

* Fixed lint issues

* Changed body format

* Fixed the problem of missing descriptions on message attachments (#10705)

* [BREAK] Improvements to notifications logic (#10686)

[NEW] Improvements to notifications logic

* LingoHub Update 🚀 (#10691)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [NEW] Setup Wizard (#10523)

* welcome

* .

* stylelint

* new ilustration

* new layout

* .

* implements dicts

* added all setup wizard settings to wizard

* fix some setup wizard css

* fix setup wizard js linter errors

* remove old setup wizard templaates

* setup wizard has just one main tag now

* setup wizard registration fields filter is more readable

* add register server page to setup wizard

* fix setup wizard progress bar on RTL

* setup wizard is registering users

* Add setup wizard tests, routes and fix batch

* fix setup wizard tests

* add api test back

* comment rocketchat:google-natural-language package and remove logs

* add some translation keys for setup wizard

* remove old setup wizard template

* fix sort code on setup wizard

* fix getWizardSetting method

* new migration for setupwizard

* setup wizard setting migration

* fix setupwizard migration

* Update versions

* fix some setup wizard code logic

* fix setup wizard registerServer setting

* rever package-lock.json

* rever google-natural-language .npm folder

* rever meteor packages file and add setup wizard

* remove some default values from setup wizard settings

* add advocacy option on setup wizard industry setting

* change key name to setting to make the filter more readable on setup wizard

* change key name to setting to make the filter more readable on setup wizard

* add findWizardSettings on models Settings and handle errors of getWizardSettings method

* change setting to key to make the filter more readable on setup wizard

* fix setup wizard settings filter map

* remove serverHasAdminUser method on setup wizard

* fix setup wizard tests

* fix setup wizard final step workspace link

* fix setup wizard tests

* [FIX] Improve wordpress OAuth settings (#10724)

[NEW] Add more options for Wordpress OAuth configuration

* [NEW] Add /api/v1/channels.roles & /api/v1/groups.roles (#10607)

[NEW] Add REST endpoints `channels.roles` & `groups.roles`

* Changes source of text for announcement modal content (#10733)

[FIX] Regression: Empty content on announcement modal

* [FIX] Send a message when muted returns inconsistent result in chat.sendMessage (#10720)

* Change the message that returns, when a muted or blocked user tries to send a message using that endpoint

* Remove origin provide to sendMessage method, simply throwing an error when the user is muted or blocked

* More improvements on send notifications logic (#10736)

* Denormalize the User’s Highlights

* Find subscriptions for each type of notification

* Change email preference values

* General improvements

* Use just one query to get all subscriptions to notify

* Get hightlights from subscriptions on method notifyUsersOnMessage

* Keep compatibility of emailNotifications preference in subscription save

* Prevent group mentions on large rooms

* Fix notifications for direct messages (#10760)

* Add setting and expose prometheus on port 9100 (#10766)

* Add setting and expose prometheus on port 9100

* Prometheus: Add number of connected users

* Send statistics to prometheus

* Prometheus: Add methods, subscriptions and callbacks data

* Prometheus: Add metrics of REST API calls

* Prometheus: Record subscriptions time

* Add metrics to notifications

* Wizard improvements (#10776)

* Change wizard state from boolean to `pending`, `in_progress` or `completed`
* Add migration to change the wizard setting to new values and fix the old migration
* Make the wizard responsive for small screens
* Do not publish wizard settings to the client
* Do not show wizard for unlogged users after admin was created

* Add badge back to push notifications (#10779)

* Better metric for notifications (#10786)

* Improvement to push notifications on direct messages (#10788)

* Prometheus: Improve metric names (#10789)

* [FIX] Not escaping special chars on mentions (#10793)

* Regression: Fix wrong wizard field name (#10804)

* Prometheus: Fix notification metric (#10803)

* Regression: Autorun of wizard was not destroyed after completion (#10802)

* Prometheus: Add metric to track hooks time (#10798)

* Prevent setup wizard redirects (#10811)

* Prevent setup wizard redirects

* Fix setup wizard layout

* Prometheus: Track user agent

* Stop caching private settings (#10625)

* [NEW] Add REST API endpoints `channels.setCustomFields` and `groups.setCustomFields` (#9733)

* Add channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Delete unused `user` parameter
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add tests for channels.setCustomFields and groups.setCustomFields
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix lint
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Propogate setCustomFields to Subscriptions
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix semicolon
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [NEW] Add REST API endpoints `channels.counters`, `groups.counters and `im.counters` (#9679)

* Add countVisibleByRoomIdBetweenTimestampsInclusive
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.counters, groups.counters, im.counters
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix spaces
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fixes
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #2
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Small fix #3
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add channels.couters and groups.couters tests
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix tests, last message and unread message times
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix last message and unread message times for IM
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Add im.counters test
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* Fix for msgs=0
Signed-off-by: Eugene Bolshakov <pub@relvarsoft.com>

* [FIX] UI was not disabling the actions when users has had no permissions to create channels or add users to rooms (#10564)

* hide plus icon when user doesn't have both permission for create-c and create-p

* add helper to checkout two permissions set initial value for the room type

* hide the plus icon in directory if user doesn't have both create-c and creat-p permissions

* get permissions for create channels and groups

* check if user can add channel hide and groups, hide button based upon correct state

* prevent add user button from being hidden when user has permission add user to joined room

* removed the if statement and use short hand if else syntax

* better code for disabling checkbox in create room feature if user doesn't have permission

* add missing simicolon

* put canShowAddUsersButton into seperate function call function in events and helpers

* move the canShowAddUsersButton function to define before it's called

* fix bug that prevents the viewing of the keyboard shortcuts button in groups and direct messages

* fix permissions

* Add verification to authorize get images with X-user-id and X-auth-token (#10741)

* [FIX] Fix rest /me endpoint (#10662)

[NEW] REST API endpoint `/me` now returns all the settings, including the default values

* Add REST endpoint to mark messages as unread (#10778)

[NEW] Add REST endpoint `subscriptions.unread` to mark messages as unread

* [NEW] REST API endpoint `settings` now allow set colors and trigger actions (#10488)

* edited settings-api to execute button event

* FIx identation and defer await

* removing the defer and waiting for the method to execute

* Add Rest endpoint to get username suggestion (#10702)

* major dependencies update (#10661)

* Remove old translations (#10448)

* [FIX] disable/enable System Messages (#10704)

[FIX] Missing option to disable/enable System Messages

* [NEW] View pinned message's attachment (#10214)

* displays pinned file's attachments

* handles pin for replies and quotes

* fix review

* [FIX] Enabling "Collapse Embedded Media by Default" hides replies, quotes (#10427)

[FIX] Enabling `Collapse Embedded Media by Default` was hiding replies and quotes

* [NEW] lazy load image attachments (#10608)

[NEW] Lazy load image attachments

* Develop sync (#10815)

* add redhat dockerfile to master (#10408)

* add redhat dockerfile to master

* Add redhat dockerfile to set-version helper script

* Release 0.63.2 (#10476)

* [FIX] Even TypeErrors with SAML (#10475)

* Bump version to 0.63.2

* Added one2mail.info to default blocked domain list (#10218)

* [FIX] The 'channel.messages' REST API Endpoint error (#10485)

* Bump version to 0.63.3

* Add the history of v0.63.3

* Bump version to 0.64.0-rc.0

* Bump version to 0.64.0-rc.1

* Bump version to 0.64.0-rc.2

* Bump version to 0.64.0-rc.3

* Bump version to 0.64.0-rc.4

* Bump version to 0.64.0

* Bump version to 0.64.1

* Bump version to 0.65.0-develop

* [NEW] Return the result of the `/me` endpoint within the result of the `/login` endpoint (#10677)

* Add response of the /me endpoint to /login endpoint

* change underscore use to ES6 object destructuring

* The Livechat settings of the 'color' types  were not appearing correctly in the administrative area. (#10612)

* [NEW] Enable/disable Livechat registration form fields (#10584)

[NEW] Options to enable/disable each Livechat registration form field

* When a manager tried to send a message in a live room, an error was being displayed because there is no subscription for the manager. (#10663)

[FIX] Livechat managers were not being able to send messages in some cases

* [NEW] Implement a local password policy (#9857)

* Implement a local password policy

* Improve ValidatePasswordPolicy and create tests

* Validate user’s password on method saveUserProfile

* Fix typo PasswordPoliceClass

* Apps: Command Previews, Message and Room Removal Events (#10822)

* Add message and room removal events for Apps, fix a few other issues

* First very rough draft of the slash command preview

* Add the command preview rest api and make the previews selectable via the keyboard

* Add loading i18n

* Remove duplicated toLowerCase()

* Bump version to 0.65.0-rc.0

* Update room.html (#10715)

Fix working of cancel button in progress bar, while uploading file.

* [NEW] Add view-broadcast-member-list permission (#10753)

[NEW] Add permission `view-broadcast-member-list`

* [FIX] Livechat sidebar using "Unread on Top" user preference (#10734)

[FIX] User's preference `Unread on Top` wasn't working for LiveChat rooms

* Fix REST /me regression (#10833)

Fix: Regression in REST API endpoint `/me`

* [FIX] Broadcast/ Read only issues (#10835)

[FIX] Broadcast channels were showing reply button for deleted messages and generating wrong reply links some times

* Create temp folder if it doesn't exist (#10837)

* Fix: Regression on users avatar in admin pages (#10836)

* fix avatar admin lists

* Update messagePopup.js

* Bump version to 0.65.0-rc.1

* Fix: Clarify the wording of the release issue template (#10520)

* Clarify the wording of the release issue template

* Update release.md

* Regression: Make settings `Site_Name` and `Language` public again (#10848)

* Fix layout badge cutting on unread messages for long names (#10846)

[FIX] Layout badge cutting on unread messages for long names

* [FIX] Missing pagination fields in the response of REST /directory endpoint (#10840)

* Add missing pagination fields in the response of REST /directory endpoint

* Add support to choose sort field in REST directory

* Allow click on command previews and add setting to control apps enablement (#10853)

* Regression: Fix email notification preference not showing correct selected value (#10847)

* Fix email notification preference not showing correct selected value

Closes #10844

* Save email notification preferences correctly

Closes #10787

* Create room with user notification preferences

* Add back the uploaded file message on push notifications

* Bump version to 0.65.0-rc.2

* [FIX] The first users was not set as admin some times (#10878)

* Fixed a typo on error message for push token API (#10857)

Fix: typo on error message for push token API

* Adds flex-box to preview commands (#10883)

* Fix: Regression Lazyload fix shuffle avatars (#10887)

* fix avatar admin lists

* test to fix shuffle avatars

* LingoHub Update 🚀 (#10886)

Manual push by LingoHub User: Rodrigo Nascimento.
Project: Rocket.Chat

Made with ❤️ by https://lingohub.com

* [FIX] Manage apps layout (#10882)

Fix: Manage apps layout was a bit confuse

* Fixed slackbridge (#10875)

* Bump version to 0.65.0-rc.3

* Bump version to 0.65.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants