Commit graph

716 commits

Author SHA1 Message Date
Rohit Waghchaure
112784e7ae feat: custom user type with doctypes 2021-04-01 13:54:11 +05:30
Suraj Shetty
cf2eacbb3a
fix: Remove list.min.css from hook (#12606) 2021-03-18 12:24:29 +05:30
Gavin D'souza
43d3a5b1fa chore: Boolean over Int for user_data_fields 2021-03-16 12:02:34 +05:30
Gavin D'souza
48c0160b6a Merge branch 'develop' of github.com:frappe/frappe into refactor-personal-data-deletion 2021-03-15 16:07:17 +05:30
leela
de210260a7 refactor: allow callable limit arg for ratelimit deco
As we make all configurations editable through dashboard(ex: password_reset_limit), it makes sense
to provide limit as a callable so that it can be accessed dynamically.
2021-03-09 13:59:49 +05:30
Gavin D'souza
b8f962fd8f fix: Use site domain for deleted user name
* Use strict option for Comment
2021-03-04 12:36:57 +05:30
Gavin D'souza
6b104e2bf1 feat: Partial field value redaction
Finds and replaces Full Name and User email ID from specified DocTypes

Changes:
* Option "partial" added in user_data_fields
* If "redact_fields" aren't speciifed, "partial" mode is assumed
* If "rename" is set, the respective docs are renamed with self.anon
* "strict" if unset, is assumed to be False. In this case, a non conditional
query is used to delete data. If "strict" is True, Personal Data
Deletion Request will obey "filter_by" field value if defined else "owner" is used
2021-02-26 21:24:02 +05:30
Gavin D'souza
cd94227aa5 refactor(hooks): Personal Data Deletion Request
Changes:
* Renamed hook from `user_privacy_documents` to `user_data_fields`
* Renamed ref field from `match_field` to `filter_by`
* Renamed ref field from `personal_fields` to `redact_fields`
* Removed ref field `applies_to_website_user` from hook options -- let's
treat all requests equally and redact data from all privacy docs
* Added boilerplate hook for new apps
2021-02-26 20:31:02 +05:30
Faris Ansari
46d2ede2e3 fix: Use hooks for handling /desk and /app routes
No need for random if statements, use the framework!
2021-02-05 13:05:14 +05:30
Suraj Shetty
b94d5778a8 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2021-01-19 10:36:50 +05:30
Anupam Kumar
35c612e076
fix: translator url (#12144) 2021-01-05 16:15:25 +05:30
Suraj Shetty
25dc9ee222 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-12-11 13:02:36 +05:30
prssanna
3a11ef3365 fix: filter dashboards, dashboard charts, number cards by modules 2020-12-08 12:46:16 +05:30
Rushabh Mehta
864f579409 feat(doctype-layout): Ability to add different layouts to doctypes 2020-11-17 17:35:03 +05:30
Rushabh Mehta
029e757cc6 fix(minor): routing in various places to support v2 routing 2020-11-11 12:18:23 +05:30
Suraj Shetty
b5d9c1e816 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-11-06 10:42:37 +05:30
Rucha Mahabal
462f14b40e fix: Milestone not created for fields updated after submission 2020-10-27 15:03:15 +05:30
Shivam Mishra
9e39a7464a Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-10-21 11:55:13 +05:30
Saurabh
697a9e0cf2 fix: run log notifier from client side 2020-10-20 13:19:12 +05:30
Saurabh
07e4885775 fix: renaming of fields and test fixes 2020-10-20 13:19:12 +05:30
Saurabh
117d28ba3a Enahancement:
1. Log Settings doctype to control log cleanup
2. Provision to show an alert message if unseen error log exists
2020-10-20 13:19:12 +05:30
Suraj Shetty
9f8fcfe065
feat(Assignment Rule): Option to set custom due_date for assignments (#11669) 2020-10-12 13:30:04 +05:30
Faris Ansari
1b6cbf681f
feat: Gantt Rebranded Styles (#11662)
list.min.css is not needed anymore as the only styles it included was of old gantt
2020-10-08 10:00:25 +05:30
Suraj Shetty
ba29d8d8b4 Merge branch 'develop' of https://github.com/frappe/frappe into rebrand-ui 2020-10-01 13:10:37 +05:30
barredterra
ad5c007e2b feat: after_migrate hook 2020-09-21 13:21:13 +02:00
Faris Ansari
bbdbc0d947 Merge remote-tracking branch 'upstream/develop' into aaaa-website-enhancements-for-redesign 2020-09-18 16:17:15 +05:30
Saurabh
ae31f08f42
feat(user): Add hourly limit for password reset requests (#11371)
Co-authored-by: Chinmay D. Pai <chinmaydpai@gmail.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-09-14 12:19:06 +05:30
Faris Ansari
6692211705 feat: Customizable navbar and footer with Web Template 2020-09-03 13:59:18 +05:30
Suraj Shetty
2f13aff6b8 fix: Update frappe logo 2020-08-31 13:05:42 +05:30
Suraj Shetty
73832edcec refactor: Delete unwanted .less files 2020-08-26 21:40:30 +05:30
Faris Ansari
891456e1e6
Merge branch 'develop' into attach-files-to-doc-on-update 2020-08-21 13:33:41 +05:30
mergify[bot]
7f14c29911
Merge pull request #9751 from prssanna/prepared-report-button
feat(Prepared Report): System Setting to automatically delete old prepared reports
2020-08-18 05:50:39 +00:00
Rushabh Mehta
b09beb9147 fix(tests): cleanup 2020-08-17 09:41:54 +05:30
Rushabh Mehta
b4b620e738 fix(refactor): event_update_log - move code from document.py and cleanup hooks 2020-08-17 09:41:54 +05:30
Shivam Mishra
ef0182cf14 fix: remove generate theme fn from hooks
* ref - a6eae5665
2020-08-06 19:47:46 +05:30
Shivam Mishra
d2d37a1e04 feat: move whoosh full_text_search build to migrate from hooks 2020-08-06 19:47:46 +05:30
prssanna
a19d045f88 feat: add scheduler event to delete old prepared reports 2020-07-29 18:23:23 +05:30
Faris Ansari
10a5900ed3 fix: Attach files to the document if they are set programmatically 2020-07-27 19:47:46 +05:30
Sahil Khan
124db4170c chore: set develop version as 13.x.x 2020-06-30 17:52:57 +05:30
Faris Ansari
a6eae56658 fix: Create website theme file in public folder
Earlier theme files were generated in assets folder, so if a site was
moved to a different bench, theme files were not moved with the site.
Now, they will be generated in /public/files/website_theme folder so
they move along with the site.
2020-06-24 11:03:10 +05:30
Faris Ansari
8119992fb2 fix: Remove default base_template_map 2020-06-05 19:45:52 +05:30
Faris Ansari
3a20187715 fix: Build search index for web pages after migrate 2020-05-30 18:03:38 +05:30
Faris Ansari
5b1dacb6a1 feat: Set base_template for routes by regex
The default `base_template` for any web route was `templates/web.html`
by default. Now, you can set the `base_template` for routes by a regex
pattern via hooks (using the key `base_template_map`). For e.g, you can
set `templates/doc.html` for routes that match the pattern `docs.*`
2020-05-24 07:33:46 +05:30
Suraj Shetty
4638272475
Merge branch 'develop' into contextual-translation 2020-05-01 15:40:48 +05:30
prssanna
5ebe5d0a2f feat: add number cards to Dashboard 2020-04-26 16:11:53 +05:30
Suraj Shetty
06ee14e433
Merge branch 'develop' into contextual-translation 2020-04-17 13:26:05 +05:30
Shivam Mishra
c412fde953 feat: don't rebuild cache on delete 2020-04-10 16:42:03 +05:30
Suraj Shetty
db41acf496 refactor: Get translator_url for hooks 2020-04-07 12:45:07 +05:30
Shivam Mishra
947dc83ddb feat: use domain restrictions from cache 2020-04-06 15:20:25 +05:30
Shivam Mishra
aca5bdb89f feat: don't rebuild count cache on every insert 2020-04-06 15:19:32 +05:30