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

[IMPROVE] Add "Allow_Save_Media_to_Gallery" setting #18875

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/lib/server/startup/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,10 @@ settings.addGroup('Meta', function() {
});

settings.addGroup('Mobile', function() {
this.add('Allow_Save_Media_to_Gallery', true, {
type: 'boolean',
public: true,
});
this.section('Screen_Lock', function() {
this.add('Force_Screen_Lock', false, { type: 'boolean', i18nDescription: 'Force_Screen_Lock_description', public: true });
this.add('Force_Screen_Lock_After', 1800, { type: 'int', i18nDescription: 'Force_Screen_Lock_After_description', enableQuery: { _id: 'Force_Screen_Lock', value: true }, public: true });
Expand Down
1 change: 1 addition & 0 deletions packages/rocketchat-i18n/i18n/en.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@
"Allow_collect_and_store_HTTP_header_informations_description": "This setting determines whether Livechat is allowed to store information collected from HTTP header data, such as IP address, User-Agent, and so on.",
"Allow_Invalid_SelfSigned_Certs": "Allow Invalid Self-Signed Certs",
"Allow_Invalid_SelfSigned_Certs_Description": "Allow invalid and self-signed SSL certificate's for link validation and previews.",
"Allow_Save_Media_to_Gallery": "Allow Save Media to Gallery",
"Allow_switching_departments": "Allow Visitor to Switch Departments",
"Allow_Marketing_Emails": "Allow Marketing Emails",
"Allow_Online_Agents_Outside_Business_Hours": "Allow online agents outside of business hours",
Expand Down
1 change: 1 addition & 0 deletions packages/rocketchat-i18n/i18n/pt-BR.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@
"Allow_collect_and_store_HTTP_header_informations_description": "Esta configuração determina se o Livechat tem permissão para armazenar informações coletadas do HTTP Header, como endereço IP, User-Agent, etc.",
"Allow_Invalid_SelfSigned_Certs": "Permitir certificados auto-assinados inválidos",
"Allow_Invalid_SelfSigned_Certs_Description": "Permitir certificado SSL inválidos e auto-assinados para validação de link e previews.",
"Allow_Save_Media_to_Gallery": "Permitir salvar mídias na galeria",
"Allow_switching_departments": "Permitir que Visitantes Mudem de Departamento",
"Allow_Marketing_Emails": "Permitir emails de marketing",
"Allow_Online_Agents_Outside_Business_Hours": "Permitir agentes online fora do horário de expediente",
Expand Down