Commit graph

46392 commits

Author SHA1 Message Date
Ankush Menat
16c8a30861 fix: Avoid erasing recorder during clear_cache
This reverts commit eadfe86fd834f43925956fa6d759127aaf363441.
2024-05-13 17:41:34 +05:30
Ankush Menat
aba8d4e5b5 fix(DX): fix up column widths in recorder grid
Query is most important yet it was only taking 2 cols, unreadable.
2024-05-13 17:38:18 +05:30
Frappe PR Bot
78321360a6
chore: update POT file (#26325) 2024-05-13 08:23:47 +00:00
paurosello
c19e6a8732
feat: pre-login hook (#26394) 2024-05-13 13:41:06 +05:30
Ankush Menat
49fb60a0dd
Merge pull request #26360 from rutwikhdev/upgrade-fullcalendar
feat: upgrade fullcalendar
2024-05-13 13:38:34 +05:30
Corentin Flr
016e41c29a
fix(TextEditor): Show editable rich editor in grid row (#26366) 2024-05-13 13:38:11 +05:30
Smit Vora
4522d10afb
fix(test records): rollback only the test record that exists (#26415) 2024-05-13 13:34:23 +05:30
Raffael Meyer
da740081c6
fix: make rename_doc work pre_model_sync (#26419) 2024-05-13 13:32:23 +05:30
Rutwik Hiwalkar
35f0d92e40
Merge pull request #26328 from rutwikhdev/fix-empty-tree-view
fix: new and add child button for empty tree doctype
2024-05-13 12:48:40 +05:30
Rutwik Hiwalkar
b8f7c4c11f chore: show doctype name as root node in treeview 2024-05-13 11:31:19 +05:30
Rutwik Hiwalkar
def9630e1c chore: move fullcalendar libs to a separate bundle 2024-05-11 13:51:42 +05:30
Ankush Menat
c3c579bdc5 test: update asset size values 2024-05-11 13:51:42 +05:30
Rutwik Hiwalkar
e520a39da8 fix: misc fixes for event datetime and styling 2024-05-11 13:23:27 +05:30
Rutwik Hiwalkar
20355fe31b fix: css styling for calendar and overriden styles 2024-05-11 13:23:27 +05:30
Rutwik Hiwalkar
7e145927bc fix: event datetime utils for calendar
- move from momentjs to native date api
- simplify selection logic
2024-05-11 13:23:27 +05:30
Rutwik Hiwalkar
3d29f90dbd chore: upgrade calendar component to latest
feature parity for,
- toolbar actions
- show/hide weekend
- navigate through calendar and click events
2024-05-11 13:23:27 +05:30
Rutwik Hiwalkar
c7c3eee6d5 build(deps): add fullcalendar and related plugins 2024-05-11 13:23:21 +05:30
Akhil Narang
7eeb6644c8
Merge pull request #26401 from akhilnarang/fix-table-multiselect-tab-selection
fix: allow navigating to `Table MultiSelect` fields using tab
2024-05-10 18:34:56 +05:30
Nikhil Kothari
fb2753fcaf
fix: pass user and shared params when checking for cache keys (#26402)
* fix: pass user and shared params when checking for cache keys

* chore(test): added test for user cache in redis_cache
2024-05-10 12:48:43 +00:00
Akhil Narang
7d27602c07
fix: allow navigating to Table MultiSelect fields using tab
It was skipped earlier as it was part of `no_value_type` and didn't have an exception added like `Table`

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-10 17:49:07 +05:30
Akhil Narang
2c0b77bf81
Merge pull request #26389 from akhilnarang/fix-unfollow
fix(document_follow): `following` was treated as a string not a boolean
2024-05-09 16:04:46 +05:30
Ankush Menat
5de5e25df6
fix: datetime comparison in QB (#26364)
closes https://github.com/frappe/frappe/issues/26363
2024-05-09 10:19:27 +00:00
Akhil Narang
5050376c55
fix(document_follow): following was treated as a string not a boolean
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-09 14:02:19 +05:30
Ankush Menat
c2d5ef175c
fix: cache github release data per bench (#26382)
Reduce API calls to github as public calls are limited.
2024-05-09 06:52:39 +00:00
Ankush Menat
53517630ae
fix: Increase folder link field size (#26381)
* fix: increase folder length to 255

File `name` is 255 because it's bootstrapped using mariadb.sql, so users
can create 255 char long folders but can't store anything in it.

* fix(UX): slightly better character len message

Highlight field by making it bold.
2024-05-09 12:10:21 +05:30
Akhil Narang
26164ca600
Merge pull request #26377 from akhilnarang/add-back-request-raise-for-status
fix(integrations): add back `response.raise_for_status()`
2024-05-08 15:28:13 +05:30
Akhil Narang
19b696acf6
fix(integrations): add back response.raise_for_status()
It got removed in 59ca074780, however it
should still be here, the point of that commit was to fix other
behaviour, don't exactly remember why it was removed.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-08 15:14:41 +05:30
Akhil Narang
a623d1b285
Merge pull request #26372 from akhilnarang/drop-read-only-excel-read
chore(openpyxl): don't set `read_only=True` while reading an excel file
2024-05-08 12:28:00 +05:30
Akhil Narang
af5af9b7a1
chore(openpyxl): don't set read_only=True while reading an excel file
The way openpyxl parses files is very different, and read only seems to break with certain files
It tries to head information about the max rows/columns from the header in the case of read only
which can be wrong sometimes.

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-08 11:42:07 +05:30
Ritwik Puri
e6118cca3c
fix: open URL type shortcut in workspace in a new tab (#26367) 2024-05-07 21:27:01 +05:30
Rutwik Hiwalkar
ffc27a10ff
Merge branch 'frappe:develop' into fix-empty-tree-view 2024-05-07 20:04:03 +05:30
Ankush Menat
f07ea138d5
test: check redis calls and overhead (#26356) 2024-05-07 10:05:21 +00:00
Rutwik Hiwalkar
47e454e987 chore: remove vendoring for fullcalendar 2024-05-07 15:03:49 +05:30
Ankush Menat
c17eb87c70
perf: Reuse cached user for get_user_lang (#26350)
Saves ~1% of overhead.

User doc is almost always cached to create session so we can reuse it in
same request without additional redis call.
2024-05-07 12:50:22 +05:30
Ankush Menat
e240c6bdf8
perf: Avoid caching module_app (#26349)
module_app is just reverse of app_module.

This saves ~1.5% of overhead.
2024-05-07 07:06:44 +00:00
Kevin Shenk
cd50b025d5
fix: QB name in error message (#26345)
"Query Engine" wording made the edited error message ambiguous, since the docs all refer to this feature as Query Builder
2024-05-07 11:39:28 +05:30
Ankush Menat
f8abd09ab9
perf: avoid two layer cache of timezone (#26340)
It's same thing, system settings are always fetched, no idea what's point of additional layer of caching on top of it.
2024-05-06 13:12:41 +00:00
Ankush Menat
724d886f88
perf: Reduce 1 redis call while dumping monitor logs (#26337) 2024-05-06 12:53:36 +00:00
Ankush Menat
1defbf5be8
fix: Apply configured perms on address list (#26334) 2024-05-06 12:08:06 +00:00
Akhil Narang
32d6d802fc
Merge pull request #26324 from blaggacao/feat/error-log-link
feat: allow linking of request http errors
2024-05-06 17:16:06 +05:30
David
f9cdcfb7af
feat: allow linking of request http errors 2024-05-06 13:18:33 +02:00
Ankush Menat
aa48d7d84a
test: smtp4dev API changes (#26330) 2024-05-06 16:23:25 +05:30
Rutwik Hiwalkar
3b89c3f664 fix: new and add child button for empty tree doctype
- The second check in treeview.js is useless
- If the node being created is root-node(i.e. doctype(name) is parent
  then don't set parent)
2024-05-06 11:47:58 +05:30
mahsem
424d5e14bc
fix: Add some strings for translation (#26322) 2024-05-04 20:04:18 +05:30
Frappe PR Bot
4c338d26d6
fix: sync translations from crowdin (#26120)
* fix: Turkish translations

* fix: Persian translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Turkish translations

* fix: Persian translations

* fix: Bosnian translations

* fix: Turkish translations

* fix: Spanish translations

* fix: German translations

* fix: Bosnian translations

* fix: Persian translations

* fix: Spanish translations

* fix: Bosnian translations

* fix: Turkish translations

* fix: Persian translations

* fix: Spanish translations

* fix: Turkish translations

* fix: Turkish translations

* fix: Turkish translations
2024-05-04 18:11:26 +05:30
mahsem
076e25658b
style: whitespace in social_login_key.json (#26317) 2024-05-04 17:11:04 +05:30
Ankush Menat
2796f8e002
Merge pull request #26314 from ankush/fix/update_notifications
feat: improved update notifications
2024-05-04 15:22:45 +05:30
Ankush Menat
8ab308838b feat: Keep certain keys persistent in cache 2024-05-04 15:08:35 +05:30
Ankush Menat
45026aed37 feat: give higher priority to minor versions
Major versions will be shown when minor updates are exhausted only.
2024-05-04 15:08:35 +05:30
Ankush Menat
a234e79790 refactor: misc changes
- Move sys setting check to server side
- tomli import handling
2024-05-04 15:08:34 +05:30