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
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