Commit graph

113 commits

Author SHA1 Message Date
sokumon
aeb53b3401 fix: change condition for Workspace 2026-01-28 15:41:30 +05:30
sokumon
1357924b05 fix: cleanup desktop icons in migrate 2026-01-21 16:51:47 +05:30
sokumon
5c81a34cbb fix: remove orphan workspace sidebars 2026-01-12 10:35:50 +05:30
sokumon
709169a538 chore: clean desktop icon controller 2025-12-18 14:20:00 +05:30
sokumon
dfd5d6982d fix: create and use a file map to remove orphans 2025-12-09 17:31:20 +05:30
sokumon
ea6a9cd76e fix: print more information in error 2025-12-08 00:43:03 +05:30
sokumon
7b32b96cfc fix: handle names with parenthesis 2025-12-07 23:09:44 +05:30
sokumon
fa5784b04b fix: use the correct part for dashboard 2025-12-07 21:17:21 +05:30
Soham Kulkarni
6f4b28d29e
Revert "feat: removal of orphan entities" 2025-12-04 13:45:23 +05:30
sokumon
632eb8e50b fix: use correct filter for dashboard 2025-11-27 17:03:52 +05:30
sokumon
8bf734bb4a fix: check for if the record exists 2025-11-26 14:40:58 +05:30
sokumon
d7c96412a4 fix: semgrep issue 2025-11-26 13:41:09 +05:30
sokumon
826b5f0a0f fix: handle renamed icons via removing icons with no fixture 2025-11-26 13:40:42 +05:30
sokumon
fd79a52695 fix: delete icon and sidebar based on workspace 2025-11-26 13:40:42 +05:30
sokumon
2c7f77afab feat: removal of orphan entities 2025-11-26 13:40:42 +05:30
Saqib Ansari
d4a0181379
Merge pull request #33905 from nextchamp-saqib/custom-perm-types
feat: custom permission types
2025-11-17 16:00:17 +05:30
Saqib Ansari
96d380b6d3 fix: sync permission types before doctypes 2025-11-15 14:07:32 +05:30
sokumon
ad03236e01 feat: Sidebar Group Item 2025-11-14 23:05:14 +05:30
sokumon
c057c730c5 refactor: make app level folders first class 2025-11-14 23:05:12 +05:30
sokumon
9658ca1642 feat: export and sync workspace sidebar and desktop icon 2025-11-14 23:05:11 +05:30
Saqib Ansari
010351cee2 refactor: single perm type for multiple doctypes
problem: if same perm type is defined in two different apps, we'd have to handle the merging of `doc_types` multi-select field
2025-11-14 14:49:36 +05:30
Saqib Ansari
619649589d fix: sync permission type doctype before importing custom perm types 2025-11-10 12:35:58 +05:30
Saqib Ansari
2f3af6adf1 feat: make permission type exportable 2025-10-30 14:05:01 +05:30
Sagar Vora
56c7295b8c
perf: commit only if file is imported (#33114) 2025-06-26 15:51:03 +05:30
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