Commit graph

89 commits

Author SHA1 Message Date
Ankush Menat
82c90bdbbd fix: Orphan doctype check should remove doctypes with no module 2025-04-23 12:02:58 +05:30
Akhil Narang
84ef6ec677
refactor: fixup with ruff 0.8.1
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-12-04 13:18:04 +05:30
David Arnold
67f2b056b4
feat: add hook to allow downstream apps to add auto-loading instrumentation for their doctypes (#28479) 2024-11-15 13:04:20 +00:00
Ankush Menat
ebbd3cd137
fix: skip overriden doctypes during orphan check (#23518)
These are prone to breakage and shouldn't be deleted automatically.

This mostly works fine but there can be cases where it doesn't. So best to leave them untouched.
2023-11-30 11:33:42 +00:00
Ankush Menat
b409a05e8e fix: Ignore all non-import exceptions 2023-09-15 16:22:09 +05:30
Ankush Menat
c189b7e622 revert: syncing of report and pages 2023-09-15 16:22:06 +05:30
Ankush Menat
662b07170c test: orpahned doctype check after patch test 2023-09-15 16:18:25 +05:30
Ankush Menat
b9ee6827b4 refactor: stale object removal
- Do it after migration, post migration might use some old doctype.
- stale -> orpahn
- dont commit changes individually
- Remove table doctype too
2023-09-15 16:18:25 +05:30
14987
2937ba38db fix: Update get_doc filter 2023-09-15 16:18:25 +05:30
14987
31a1d37f0a refactor: Fix ambigious var name 2023-09-15 16:18:25 +05:30
14987
b9449a4f13 fix: Delete stale doctypes, reports and pages 2023-09-15 16:18:25 +05:30
Ankush Menat
43714825b0
fix: sync importable doctype before documents (#21131) 2023-05-26 15:58:26 +05:30
Shariq Ansari
2cd8a860e5 fix: sync workspace custom block doctype while installing 2023-05-17 18:16:11 +05:30
Shariq Ansari
d37423916c fix: prioritize workspace_number_card doctype while installing 2023-02-28 13:40:40 +05:30
Ankush Menat
e1253e8299 fix: remove ad-hoc maintenance mode implementation 2022-09-09 17:34:46 +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
Faris Ansari
eea5cc52da
refactor!: Remove Data Migration Tool (#17134)
* refactor: Remove Data Migration Tool

* chore: unnecessary imports
2022-06-13 16:24:00 +05:30
Shariq Ansari
78489cd700
feat: Quick List Block for Workspace (#16887) 2022-05-13 15:34:35 +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
barredterra
745297a49d refactor: a not in b
Search: if not ([\w\d]*?) in ([\w\d]*?)
Replace: if $1 not in $2
2022-02-21 19:54:34 +01:00
Faris Ansari
1d67a38059 fix: add doctype_state in sync and install 2021-12-14 16:32:58 +05:30
abhishek
ba78852c73 docs: add docstring for import_file_by_path 2021-10-12 17:15:12 +05:30
abhishek
f3d810414a refactor: sync_for() - first install module 2021-10-11 18:59:06 +05:30
abhishek
0be59cee80 chore: add missing document_types 2021-10-11 18:59:06 +05:30
abhishek
69d8eddf5a refactor: remove unused args
refactor: remove unused args
2021-10-11 17:23:17 +05:30
abhishek
278883edb0 fix: missing migration hash column 2021-10-11 17:23:17 +05:30
abhishek
b2b391e90a style: misc 2021-10-11 17:23:17 +05:30
Gavin D'souza
c3be3d35e8 fix: "function"al programming++ 2021-10-11 17:23:17 +05:30
Rushabh Mehta
20dea90670 feat(minor): Packages! also cleanup of DocField and other minor fixes 2021-09-05 22:01:55 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Saqib Ansari
17b3c701ed feat: standard form tours 2021-06-19 13:49:51 +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
Brian Pond
9e5dfc2859
refactor: Remove unused args in get_doc_files (#12298)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-02-03 22:32:01 +05:30
Rushabh Mehta
7fd6346bf8 BREAKING CHANGE: rename child tables of Workspace 2021-01-12 13:33:15 +05:30
Shivam Mishra
bd7690a9fa feat: rename desk page to workspace 2020-12-04 14:16:26 +05:30
Shivam Mishra
30804666f4 chore: remove desk card from sync 2020-12-04 14:16:26 +05:30
Shivam Mishra
48382fdca0 refactor: rename onboarding to module onboarding 2020-05-12 16:23:26 +05:30
Shivam Mishra
961fbf6594 feat: sync number cards 2020-05-06 17:26:28 +05:30
Shivam Mishra
db152b28de feat: sync dashboards after setup and migrate 2020-05-06 14:45:07 +05:30
Shivam Mishra
b6478bf8e9 style: linting fixes for deepsource 2020-05-01 12:12:56 +05:30
Shivam Mishra
65e9040062 Merge branch 'develop' of github.com:frappe/frappe into modulewise-onboarding 2020-04-30 19:23:04 +05:30
Shivam Mishra
f9c9505305 feat: sync onboarding permissions 2020-04-30 18:47:33 +05:30
Shivam Mishra
1732f5b4cf feat: import onboarding step along with onboarding 2020-04-28 22:17:02 +05:30
Shivam Mishra
3714b8b79e feat: added onboarding and onboarding step to sync 2020-04-26 12:56:40 +05:30
Shivam Mishra
daed4ff49d feat: remove onboarding slide completely 2020-04-24 14:08:42 +05:30
Faris Ansari
ff0fa956a9 fix: Add Web Template to sync list
So that json files are synced when app is installed
2020-04-21 19:24:22 +05:30
Shivam Mishra
3c02f947e3 feat: allow syncing of desk page records 2020-03-02 18:49:56 +05:30
mergify[bot]
ae5ba4bdaa
Merge pull request #8952 from ruchamahabal/onboarding-ui-fixes
fix: Onboarding Wizard Multiple Fixes
2019-12-06 07:14:36 +00:00
Rucha Mahabal
e07f5ffafe
fix: spacing
Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
2019-12-06 12:29:09 +05:30
Rucha Mahabal
5b16efd1e7 chore: code cleanup for the old doctype Setup Wizard Slide 2019-12-02 17:23:13 +05:30