Commit graph

44958 commits

Author SHA1 Message Date
18alantom
9ece71bc56 feat: add using-cached flag to bench build
- add using-cache flag to node esbuild call

The flag is to be used by bench get-app if its is
using cache.

Flag causes building of assets to not run and
instead updates assets.json files from built assets.

Linking of assets in the sites folder also occurs.
2024-01-17 13:20:57 +05:30
Ankush Menat
d5d9b12472
test: flaky server tests (#24301)
* Revert "fix(test_recorder): get the correct request (#24143)"

This reverts commit 745080c56e.

* test: disable recording before running assertions

* test: Dont set emails in test for broken email setup
2024-01-15 08:09:46 +00:00
Ankush Menat
a69b779715 fix: Make as_iterator work when there are no child queries
QB child queries feature assumes that result will be list, at least in
case of no chlid queries we can make it work. (this is most common case anyway)
2024-01-15 13:05:35 +05:30
Ankush Menat
deebb1130b
Merge pull request #19810 from ankush/sql_iter
feat: `frappe.db.sql` results `as_iterator`
2024-01-15 12:37:57 +05:30
Ankush Menat
03b6d8a4b0 test: add perf test for references 2024-01-15 12:32:07 +05:30
Ankush Menat
d5b27061ad perf: avoid duplicate copies of result set
When as_list, as_dict is done we hold on to original result set until
next query is performed. This can be HUGE for large queries.
2024-01-15 12:32:07 +05:30
Ankush Menat
588157df74 feat: frappe.db.sql results as iterator
- Also avoid self.last_result that holds on to large result set reference.
2024-01-15 12:32:02 +05:30
Ankush Menat
cbf6faccb5 fix(DX): Print available sites when URL is invalid 2024-01-15 12:30:43 +05:30
Ankush Menat
0192df06ca
ci: use node20 for semantic release (#24343)
[skip ci[
2024-01-15 11:53:13 +05:30
Safwan Samsudeen
6e7a3c4863
fix: mobile sidebar disappearing (#24316) 2024-01-15 11:29:25 +05:30
Raffael Meyer
4e81587280
Merge pull request #24326 from barredterra/drop-giturlparse 2024-01-14 18:26:19 +01:00
Raffael Meyer
431b2eb89c
Merge pull request #24318 from blaggacao/refactor/explicit-current-db-name 2024-01-14 18:21:47 +01:00
Raffael Meyer
8b18397306
Merge pull request #24320 from maharshivpatel/check-markdown_preview 2024-01-14 18:00:43 +01:00
Raffael Meyer
0ff9657e12
Merge pull request #24323 from maharshivpatel/fix-base-control-input-var 2024-01-14 17:57:19 +01:00
Raffael Meyer
c052c9e132
Merge pull request #24321 from maharshivpatel/fix-minor-tours-undefined 2024-01-14 17:56:01 +01:00
Raffael Meyer
608febd682
Merge pull request #24319 from git-avc/fix-translatable-strings 2024-01-14 17:53:45 +01:00
Raffael Meyer
12673c1a2b
Merge pull request #24327 from blaggacao/tests/use-unique-phone-numbers 2024-01-14 17:45:24 +01:00
David Arnold
3fa76b827c
chore: name current db handle properly 2024-01-14 17:14:21 +01:00
David Arnold
62148f9ecd
test: make phone number unique 2024-01-14 16:51:14 +01:00
barredterra
504654e73f Merge remote-tracking branch 'upstream/develop' into drop-giturlparse 2024-01-14 16:49:01 +01:00
barredterra
a6d0969ebd chore: drop git-url-parse dependency 2024-01-14 16:47:25 +01:00
barredterra
b5c48255e1 test: check latest github release 2024-01-14 16:46:34 +01:00
barredterra
52f6c24982 refactor: check latest github release 2024-01-14 16:46:07 +01:00
Raffael Meyer
97b62434fb
Merge pull request #24322 from barredterra/bump-dropbox-2 2024-01-14 15:59:18 +01:00
barredterra
cfae292d3e chore: bump dropbox 2024-01-14 15:41:37 +01:00
Maharshi Patel
afb95c4157 fix(minor): add optional chaining for this.$input
- before trying to toggleClass on this.$input check if it exists
2024-01-14 20:09:32 +05:30
Maharshi Patel
e7071ed2b3 fix(minor): return if no steps are defined.
if steps are not defined, don't try to run form tour.
2024-01-14 19:56:30 +05:30
Maharshi Patel
ec68c8e869 fix(minor): check if markdown_preview exists
return if markdown_preview doesn't exist in update_preview.
because it's not necessary to try updating html if markdown_preview doesn't exist.
2024-01-14 19:41:32 +05:30
avazquez@ctgalega.com
baf0a06812 fix: make confirm message translatable 2024-01-14 13:56:42 +01:00
Raffael Meyer
32e44f77a9
chore: update po files (#24292) 2024-01-14 10:30:48 +05:30
Safwan Samsudeen
a42909cebf
fix: correct mobile sidebar (#24315) 2024-01-13 14:54:10 +05:30
mergify[bot]
4655c6c1e3
Merge pull request #23678 from niraj2477/gh-20969
feat(List View): Add button to remove multiple assignments
2024-01-13 07:57:17 +00:00
Suraj Shetty
439bd2e366
test: Add new option 2024-01-13 13:10:10 +05:30
Ankush Menat
d5266fb07a
fix: collapse sidebar on picking workspace (#24312)
* fix: improve mobile design

* chore: revert other changes

---------

Co-authored-by: Safwan Samsudeen <safwansamsudeen.c@gmail.com>
2024-01-13 12:56:49 +05:30
Ankush Menat
880c01c4ae
fix(mobile-ui): tabs should scroll instead of stack (#24309)
* fix: improve mobile design

* fix: Dont wrap text in tab labels

---------

Co-authored-by: Safwan Samsudeen <safwansamsudeen.c@gmail.com>
2024-01-13 12:35:31 +05:30
Ankush Menat
69d6053523
fix(UX): show status indicator in moblie view (#24306)
Status pill isn't THAT useful on mobile view.

- Firstly the colours aren't that different for few states
- You might not even know what those colours mean if you haven't used it
  before.
2024-01-13 11:11:40 +05:30
Ankush Menat
b3eaec4347
fix: misc (#24303)
* fix(DX): improve logging in various places

* fix(ux): misc RQ worker and job fixes
2024-01-13 10:54:38 +05:30
Ankush Menat
e45e313bfb
feat: Skip locked rows while selecting (#24298) 2024-01-13 09:49:27 +05:30
Sagar Vora
9c91f79170
fix: sanitize html instead of escaping when creating/updating workspace (#24284) 2024-01-12 21:07:31 +05:30
Maharshi Patel
65af4b8dbf
fix(minor): increase rate limit for web form (#24295)
increased rate limit for web form to 10 requests per minute.
2024-01-12 20:58:34 +05:30
Corentin Flr
c9cccf0598
fix(MultiCheck): Use df.sort_options to enable/disable sort (#24202)
When df.sort_options is null/undefined/truthy, then sort options. When df.sort_options is explicitely falsy, then do NOT sort options.
2024-01-12 17:43:15 +05:30
RitvikSardana
1666b0104f
fix: convert status field data to String before guessing the style (#24226)
* fix: status field should only be of type 'Select'/'Data'/'Check'

* chore: change code position

* fix: convert status field data to string to handle all cases

* chore: use cstr

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-01-12 17:41:21 +05:30
Ankush Menat
87d0b8ba1a fix: typeerror 2024-01-12 16:52:29 +05:30
Ankush Menat
d549d9f637
Merge pull request #24280 from barredterra/translatable-string-description
fix: improve translatable string description
2024-01-12 08:35:05 +05:30
barredterra
d267f3ff8a chore: update pot file 2024-01-12 01:59:11 +01:00
barredterra
b23b0633e5 fix: create new pot file instead of adding to existing one 2024-01-12 01:55:14 +01:00
barredterra
547a6107ce fix: improve translatable string description 2024-01-11 19:32:40 +01:00
Ankush Menat
4dc9cd39ae chore: rename permission debugger to inspector 2024-01-11 22:01:38 +05:30
mergify[bot]
8c4776092b
Merge pull request #24278 from RitvikSardana/develop-ritvik-select-field-no-debounce
fix: select field should not have debounce
2024-01-11 16:25:02 +00:00
mergify[bot]
df8d00c9e5
Merge pull request #24109 from blaggacao/feat/link-preview-in-tree-view
feat: add link preview capability to tree view
2024-01-11 14:44:39 +00:00