Commit graph

21 commits

Author SHA1 Message Date
barredterra
3694e654a1 refactor: rename convert_utc_to_user_timezone to convert_utc_to_system_timezone 2023-03-04 19:02:25 +01:00
Ankush Menat
40f27f908a style: format JS files with prettier 2022-08-04 14:51:01 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black (#16453)
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
Anurag0911
8b7629c064
feat: Encrypted Backups (#14513)
* feat: backup-encryption

* fix: Using encryption key and Minor changes.

* fix: Sider.

* fix: Closing curly brace does not appear on the same line as the subsequent block.

* fix: Review Suggestions.

* fix: Minor changes.

* chore: Icon

* fix: Icon and Privileges Changes.
2021-11-09 13:58:57 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Ernesto Ruiz
b02e79966a
fix(UI): Add margin to download backup card (#13050) 2021-05-03 10:03:35 +05:30
Ernesto Ruiz
b0af8886d5
fix: Make strings translatable (#13046)
Co-authored-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-05-03 09:34:16 +05:30
Shivam Mishra
057f910124 fix: font-size for backups 2020-10-05 14:26:41 +05:30
Shivam Mishra
2e1decd8b3 feat: update layout for download backups 2020-09-30 15:52:55 +05:30
Sahil Khan
768565041a fix: show number of backups specified in system settings 2020-06-23 14:49:49 +05:30
Aditya Hase
837bfc0995 fix(unicode): Import unicode_literals in every file (#6805)
* fix(unicode): Import unicode_literals in every file

* fix(unicode): Test if safe_json_loads return unicode instead of bytes
2019-01-25 11:56:27 +05:30
Faris Ansari
3f93565553 Email designs (#3786)
* New message email

* Mentioned in a comment

* File backup email

* Feedback email

* Administrator logged in email

* Upcoming events email

* minor

* Add header title and indicator color
2017-07-27 17:51:20 +05:30
Saurabh
91415a6508 Download attachments backup (#3663)
* [enhance] provision to download attachments backup

* [fix] enqueue files backup job if job not in queue
2017-07-12 12:59:03 +05:30
Alex Ford
78c03b90c3 lgtm minor fixes (#3580)
* Replace a typeof test against undefined with comparison against a string

* Add rel='noopener noreferrer' attributes to target='_blank' links

* Remove a duplicate object property definition

* Remove superfluous argument to function call

* Remove some variable declarations for which the assigned value is never read

* Remove an assignment to a variable that is never read
2017-07-03 12:25:07 +05:30
Faris Ansari
e1b243996a Added files in .eslintignore, updated globals 2017-06-02 15:00:15 +05:30
shreyas
4ebbaac586 [Minor] Show only 'sql.gz' in Downloadable backups page 2016-11-16 16:58:17 +05:30
Shreyas Patil
12422e75b0 [Minor] Allow user to set limit for downloadable backups for the site (#2059)
* [Minor] Allow user to set limit for downloadable backups for the site

* [Fix] Updated path for daily_long and weekly_long dropbox backup hooks

* [Fix] Updated system_settings.json
2016-09-21 11:10:41 +05:30
Anand Doshi
8a5addaae7 [feature] Private files. Fixes #927
- Option during upload + all new incoming email files will be private
- Paired with @rmehta
2015-12-09 14:02:14 +05:30
Anand Doshi
ebdaaca779 [fix] dropbox backup typo and added backups under Setup > System 2015-09-28 19:37:12 +05:30
Rushabh Mehta
4e04d40d33 [cleanup] added dropbox backup 2015-09-28 19:12:35 +05:30