Commit graph

794 commits

Author SHA1 Message Date
barredterra
9fe11241ee chore: remove old patch
No longer needed, has been there since v8. Removed so we don't have to maintain it.
2024-03-26 23:53:25 +01:00
Ankush Menat
4f4a387b7e
fix(patch): Remove obviously invalid fetch from expressions (#25284) 2024-03-10 07:36:12 +00:00
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
Ankush Menat
9a0fc2e9d9 fix: remove patch for hashing existing tokens 2024-02-19 18:38:21 +05:30
Ankush Menat
4c925e0325 refactor: Reset password flow
- Hash one time reset tokens instead of storing them as is
- Up the perm level
- Use better source of randomness for generating token
- minor code cleanup here and there
2024-02-11 14:25:26 +05:30
14987
7ccba9f9ca
fix(patch): Update patch file 2024-02-01 14:27:38 +05:30
Sagar Vora
9c91f79170
fix: sanitize html instead of escaping when creating/updating workspace (#24284) 2024-01-12 21:07:31 +05:30
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
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
b6d65fea06 ci: update patch workflow
- start with v13 DB, drop py3.7
- New flow v13DB -> V14 -> V15 (when released) -> PR commit
- Restart bench before final migrate
2023-09-15 16:18:25 +05:30
Sagar Vora
7e9b08a040 fix: convert value column to longtext for Singles 2023-09-06 16:23:01 +05:30
Ankush Menat
730e906dfd
refactor!: remove implicit primary key from logs (#22209) 2023-08-26 16:01:47 +05:30
Suraj Shetty
77e5ad26fe
Merge pull request #21819 from marination/attachments-access 2023-08-17 09:46:30 +05:30
Ankush Menat
de932b464f refactor: delete old recorder and rename new one 2023-08-10 12:23:41 +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
Dany Robert
4f3c0f6e99
feat: configurable amended document naming (#21414)
* feat: configurable amendment naming

* patch: set default amend naming

* chore: linters and document filter

* test: amended document naming

* refactor: use set_single_value

* chore: typo, fix copy

* fix(UX): move action button below table

* refactor: Series Counter -> Default Naming

The behaviour in this PR doesn't necessarily mean to apply naming series
it can be:
- Naming Series
- hash
- Naming Rule
- Some code

So the name was misleading.

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-06-20 21:37:08 +05:30
Ankush Menat
bd60c60d4e refactor!: remove legacy password hashing
It's been 5+ years, no need to add this compatibility layer anymore.
2023-06-13 16:00:43 +05:30
Ritwik Puri
3446ca9155
fix: consider default value for content in update_workspace2 patch (#21258) 2023-06-08 13:14:37 +05:30
Nabin Hait
af7502bba7
refactor: Workspace cleanup (#21100)
* refactor: Workspace cleanup

* fix: Resolved conflict
2023-05-26 14:42:31 +05:30
Ankush Menat
7c82876305 fix: patch existing users/site 2023-05-25 15:25:57 +05:30
Suraj Shetty
06cf10edf1
Merge pull request #20730 from surajshetty3416/fix-misc-17-10 2023-04-17 12:47:10 +05:30
Suraj Shetty
9938ab0f44 fix: Remove Background Jobs from dropdown 2023-04-17 12:16:30 +05:30
Suraj Shetty
1053fba273 fix: Patch to update Background Jobs URL 2023-04-17 11:18:58 +05:30
Ritwik Puri
a232c751e5
fix: remove desk access for Guest in post_model_sync (#20719)
since we added used_oauth colum in User Email, it used to fail as it wasn't present in db in pre-model
when migrating from v13 to v14
2023-04-16 19:35:04 +05:30
Ankush Menat
7ed43e2a68
fix: Drop message_id index before migrating email queue (#20376)
[skip c]
2023-03-17 15:57:51 +05:30
Suraj Shetty
0743225cd2
fix(patch): move desk prop patch to post model sync (#20361)
* fix(patch): Reload user_email to avoid failure

* fix: move patch to post sync

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>

[Skip ci]
2023-03-16 16:38:52 +05:30
Ritwik Puri
5581be43b1
chore: remove manage subscriptions from navbar settings (#20249)
* chore: remove manage subscriptions from navbar settings

* chore: remove manage subscriptions when adding standard navbar items
2023-03-06 10:44:38 +05:30
Rutwik Hiwalkar
e9c57ee76e
revert: subscription management (#19998)
* chore: add namespaced subscription conf to boot info

* revert: https://github.com/frappe/frappe/pull/18263

* clean: remove daily hook for creating manage subscription btn
2023-02-14 12:04:28 +05:30
Sabu Siyad
1e115e5e50
chore!: Remove translation tool (page) (#19786)
* refactor(page): remove translation tool files

* refactor(patches): remove translation tool page
2023-01-30 12:09:05 +05:30
Ankush Menat
b8deb72411
fix: prepared report patch (#19807)
- the patch is failing if system setting is updated and column is gone
- the message is misleading "invalid column", it should be "missing field".
2023-01-27 14:26:54 +05:30
Ritwik Puri
6b1e98e0d6
chore: reorder disable_email_accounts_with_oauth to post model sync (#19620) 2023-01-17 14:19:33 +05:30
phot0n
b5c81cc015 chore(patch): disable all email accounts with oauth mechanism 2023-01-16 12:56:22 +05:30
Sagar Vora
036574f547 fix: patch to remove share on existing sites 2022-12-17 07:57:02 +00:00
Ankush Menat
56e1bf31d7 fix: patch to delete duplicate uniq indexes 2022-12-15 13:36:28 +05:30
Ankush Menat
a90fc27c75
refactor!: Remove activity feed (#19241) 2022-12-12 15:29:32 +05:30
phot0n
0370c80e41 chore: patches for copying disable_prepared_report and removing prepared report settings from system settings 2022-11-29 13:46:11 +05:30
Raffael Meyer
eae918d545
feat: contact full name (#18596)
* feat: contact full name

* patch: autocommit and don't update modified

* patch: print progress while updating contacts

* patch: don't overwrite existing full_name
2022-11-22 18:57:41 +05:30
Ankush Menat
45645c3f73 feat: consistent, translatable timeline messages (#17526)
reapply accidentally reverted commit

[skip ci]
2022-10-12 22:27:04 +05:30
Ankush Menat
ab3f706948 Revert "feat: consistent, translatable timeline messages (#17526)"
This reverts commit 112c492f3e.
2022-10-12 18:03:57 +05:30
Raffael Meyer
112c492f3e
feat: consistent, translatable timeline messages (#17526)
* feat: consistent, translatable timeline messages

* fix: save only filename for attachment comments

The rest of the comment will be added and translated ad-hoc by form_timeline.js

* patch: clean up Comments of type "Attachment"

* feat: further message types

* style: format with prettier

* test: cypress timeline

Timeline now correctly displays "You ..." instead of "{User} ..."

* feat: german transations for timeline comments

* fix: enable auto_commit_on_many_writes

* fix: don't update modified timestamp in patch
2022-10-06 16:05:34 +05:30
mergify[bot]
939d926b91
feat: Added Subscription Banner for remotely logging into FrappeCloud dashboard from site (backport #18263) (#18281)
* feat: Added Subscription Banner for remotely logging into FrappeCloud dashboard from site (#18263)

* feat: added Subscription Banner and Manage Subscription button

* feat[patch]: added a patch for adding `Manage Subscription` button in
navbar_settings

* chore: removed console ;)

* refactor: make the `Manage Subscription` navbar item optional

* keep it hidden by default, only show when the site configs are present

* style: prettier, isort and stuff

* chore: handling null responses, translation and refactored patch

* fix: correct index reset

* perf: reduce network/db calls

If not sys manager then why make a request?

* fix: removed network call and added subscription_expiry to boot process

* chore: added enable_manage_susbcriptions as daily background job and refactored patch

* chore: added hook to hooks.py

* this looks clean enough, also don't have insert for child tables ;)

Co-authored-by: Ankush Menat <ankush@frappe.io>
(cherry picked from commit 68f315d372cc8c6e41f2aabda61eba0d42dcf6e4)

# Conflicts:
#	frappe/patches.txt

* chore: conflicts

* style: format

[skip ci]

Co-authored-by: Rutwik Hiwalkar <50401596+rutwikhdev@users.noreply.github.com>
2022-10-03 16:41:12 +05:30
Ankush Menat
2b6fc68088
Revert "fix: drop Meta cache during update" (#18186)
* Revert "fix: drop Meta cache during update (#18182)"

This reverts commit 656f6df257.

* fix: replace meta cache keys

Old keys stored different types of data `dict` changing key to indicate
change in type.
2022-09-19 21:28:45 +05:30
Ankush Menat
656f6df257
fix: drop Meta cache during update (#18182) 2022-09-19 19:24:17 +05:30
Ankush Menat
82cd238f54
perf!: Only add modified index on parent doctypes (#18119)
When are child tables sorted by timestamp by default?
2022-09-15 19:16:12 +05:30