Commit graph

1097 commits

Author SHA1 Message Date
Akhil Narang
84bee76aba
fix: ensure that the role exists
Some setups can have broken links here, resulting in a KeyError

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-10-08 16:52:57 +05:30
Akhil Narang
c4b7401882
chore: add in a patch to migrate desk settings from role to user [untested]
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-09-24 10:46:52 +05:30
David
5c12091385
fix: migration to utm 2024-09-17 11:41:51 +02:00
Shariq Ansari
138fc02c3c fix: patch to add apps navbar item in default navbar items in navbar settings 2024-08-02 20:21:49 +05:30
Ankush Menat
11bbc3ab63 fix: rewrite __UserSettings to update default sort order 2024-03-27 11:40:03 +05:30
Ankush Menat
270d02df31 fix: only drop modified index if default sort_field is changed 2024-03-27 11:18:28 +05:30
Ankush Menat
0212d9362d fix: patch for migrating default sort order 2024-03-27 11:18:28 +05:30
Ankush Menat
071e269548 fix!: Switch to creation as default sort order 2024-03-27 11:18:28 +05:30
Akhil Narang
6c767bf8d6
fix: skip setting of contact full name if its too long (#25509)
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-03-18 18:38:23 +05:30
Ankush Menat
00030a3c1c fix: skip virtual doctype in tags 2024-03-14 12:09:35 +05:30
Ankush Menat
7a854efc03
refactor: Use JSON for session data (#25207)
JSON is proper format compared to using safe_eval which is a hack to convert
string repr of dict object back into python object.
2024-03-04 06:47:48 +00:00
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
Ankush Menat
37489d3715 chore: keep old field data for role profile around
Avoids potential data loss, it will get cleaned up over time.
2024-02-10 13:45:55 +05:30
Ankush Menat
bfa1aebcc6 fix: deduplicate role profiles 2024-02-10 12:52:35 +05:30
Ankush Menat
ff35e4b854 refactor: backward compatiblity code for role_profile_name 2024-02-10 12:24:19 +05:30
Ankush Menat
ba5ee5c339 refactor: use get_all instead of get_list
There won't be any perm checks here.
2024-02-10 12:24:19 +05:30
Ankush Menat
7fbae4cfc8 Merge branch 'develop' into multiple-role-profile 2024-02-09 19:55:12 +05:30
Akhil Narang
26ae0f3460
fix: ruff fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
14987
47b54a884a
feat: Move old role profile to table multiselect 2024-02-06 13:03:32 +05:30
14987
ff56d9644c
Merge branch 'develop' into multiple-role-profile 2024-02-06 11:34:57 +05:30
14987
83b99f1066
fix(patch): Use bulk insert child records 2024-02-06 11:29:35 +05:30
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
14987
ae70612d6a
fix(patch): Update field name 2024-02-05 16:59:31 +05:30
14987
7ccba9f9ca
fix(patch): Update patch file 2024-02-01 14:27:38 +05:30
14987
f47d8859d0
feat(patch): Update existing role profiles 2024-02-01 13:19:42 +05:30
David Arnold
3fa76b827c
chore: name current db handle properly 2024-01-14 17:14:21 +01:00
Sagar Vora
9c91f79170
fix: sanitize html instead of escaping when creating/updating workspace (#24284) 2024-01-12 21:07:31 +05:30
Hussain Nagaria
8d2137c265 docs: consistent doc strings 2023-12-18 18:27:39 +05:30
Raffael Meyer
380a67777a
fix: commit after each write
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2023-11-27 20:12:14 +01:00
barredterra
a81b8f4ba4 fix: add patch to unsubscribe invalid recipients
Unsubscribe any Email Group Member with an invalid email address.
This is required to ensure that all Newsletter recipients are valid.
By only unsubscribing, the Newsletter Manager can still correct typos.
2023-11-25 17:10:09 +01:00
Ankush Menat
47c3151662
fix: remove data import legacy leftover fields (#23113)
* fix: clear last message if ignoring DNE

* fix: attempt to delete data import legacy leftover fields
2023-11-06 19:18:39 +05:30
Ankush Menat
970a740164
revert: #22308 (#22389)
* Revert "chore: move function to correct file"

This reverts commit ebfdfa283b.

* Revert "refactor!: merge get_site_url into get_url (#22308)"

This reverts commit 2001bc278f.
2023-09-13 14:34:52 +05:30
David Arnold
2001bc278f
refactor!: merge get_site_url into get_url (#22308)
* chore: merge get_site_url into get_url

* fix: keep alias with deprecation notice
2023-09-11 15:09:05 +05:30
Sagar Vora
7e9b08a040 fix: convert value column to longtext for Singles 2023-09-06 16:23:01 +05:30
Ankush Menat
be565614a2 fix: check if doctype exists before executing patch 2023-08-27 22:00:29 +05:30
Ankush Menat
730e906dfd
refactor!: remove implicit primary key from logs (#22209) 2023-08-26 16:01:47 +05:30
Ankush Menat
0cfa95389e
fix: delete doctype after migrating (#22195) 2023-08-25 10:16:32 +05:30
Ankush Menat
8243d3d5a3 fix: dont guess extension without filename 2023-08-18 18:59:42 +05:30
Suraj Shetty
77e5ad26fe
Merge pull request #21819 from marination/attachments-access 2023-08-17 09:46:30 +05:30
marination
261fb27e38 fix: Correct value for guess_type and empty sample attachments 2023-08-09 18:13:06 +05:30
marination
d9e4791b15 chore: Use lighter files as test fixtures 2023-08-09 17:29:56 +05:30
barredterra
88c8baa9ee refactor: for append to extend, merge list extend
Replace a for append loop with list extend.
Create the list with values instead of creating
an empty list and extending it with another list.
2023-08-09 13:25:39 +02:00
barredterra
b553ed98d8 refactor: inline immediately returned variable
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
marination
ea4dbedbab fix: Use File URL to set file type as File Name is not reliable 2023-08-08 20:11:00 +05:30
marination
edc33c12c7 fix: Use mimetypes to set file type & auto commit in patch
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-07-28 20:11:00 +05:30
marination
fa241580d9 feat: Sidebar Attachments accessibility
- Issue: With a large volume of attachments, the "Attach File" button is pushed to the bottom
- "Attach File" stays at the top of the pile
- Small explore files button added so that users can use the File View to navigate/filter through files
- Expanded Explore Files button when attach file action is hidden
- Added `file_type` to Files, this is useful for filtering and visibility
- Added "Type" to File List View
- Patch to set File Type  in all files
2023-07-26 20:12:21 +05:30
Corentin Flr
3229e2869c
fix(event)!: Move "Cancelled" to status instead of event_type (#21471) 2023-07-11 18:56:57 +05:30
Deepesh Garg
3a74b38e8c Revert "fix: Update country names (#21545)"
This reverts commit e0f35fb85f.
2023-07-02 12:08:43 +05:30
Deepesh Garg
e0f35fb85f
fix: Update country names (#21545)
* fix: Update country names

* fix: revert name back
2023-07-02 11:25:43 +05:30
Ankush Menat
ae8ee5064c refactor!: Remove error snapshot 2023-06-28 10:59:51 +05:30