Commit graph

46351 commits

Author SHA1 Message Date
Rutwik Hiwalkar
c7c3eee6d5 build(deps): add fullcalendar and related plugins 2024-05-11 13:23:21 +05:30
Rutwik Hiwalkar
47e454e987 chore: remove vendoring for fullcalendar 2024-05-07 15:03:49 +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
Ankush Menat
e0c171b23b feat: show security issues count
chore: conflicts
2024-05-04 15:08:34 +05:30
Ankush Menat
5ca14bb171 feat: FC specific update notifications 2024-05-04 15:08:34 +05:30
Ankush Menat
56233f3182 chore: dead hooks 2024-05-04 15:08:32 +05:30
Ankush Menat
330a1b2044 fix: update notifier never running 2024-05-04 12:28:19 +05:30
Ankush Menat
2b95aa66a7
test: increase threshold for perf test (#26316)
We are >2x faster since the time this test was written 😄
2024-05-04 06:34:16 +00:00
Ankush Menat
7fe9cc4f09
perf: Don't update session in cache after every request (#26308)
It's just reading and writing same information except last_update inside
data which is never read back from this.
2024-05-04 06:10:38 +00:00
Ankush Menat
8e76a94a62
fix: like filter from meta filters (#26311) 2024-05-03 18:46:32 +05:30
RitvikSardana
5e25d2d121
fix: link filter falsy fix (#26282)
* fix: when operator is like, then convert to string

* chore: code cleanup

* chore: code cleanup
2024-05-03 17:43:06 +05:30
Ankush Menat
0929c235c5
fix(UX): multi-tab experience (#26309)
- On booting new session update other sessions in same browser to avoid
  "invalid requests"
- On logging in as diff user - notify user to reload page.

Not going to force reload to avoid potential data loss.
2024-05-03 16:52:45 +05:30
Ankush Menat
65b3c42635
fix: only redirect to same domain (#26304)
This limits post login redirects to same domain to avoid social engineering attempts.
2024-05-02 18:02:18 +05:30
Rohan
4bfcccfd11
fix: ignore unittest.mock objects during typing validations (#26301)
* fix: ignore unittest.mock objects during typing validations

* fix: check against base mock class

---------

Co-authored-by: Rohan Bansal <rohan@agritheory.dev>
2024-05-02 11:00:02 +00:00
Ankush Menat
3e64e60389
chore!: drop sid from boot (#26299) 2024-05-02 10:10:34 +00:00
Akhil Narang
490fae768a
Merge pull request #25900 from akhilnarang/fix-accessing-report-without-roles
fix: allow accessing reports without roles
2024-05-02 14:33:09 +05:30
Akhil Narang
26012aceb5
fix: allow accessing reports without roles
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-02 14:20:12 +05:30
Ankush Menat
1948422b63
Merge pull request #26292 from ankush/scheduler_reliability
fix: changes for scheduler reliability
2024-05-02 13:52:25 +05:30
Ankush Menat
b2ef2cd506 feat: show oldest unscheduled job in health report 2024-05-02 13:39:51 +05:30
Ankush Menat
86b1e9ec31 fix: update last_execution for no-log unconditionally
Cron jobs can now also disable logging.
2024-05-02 13:36:17 +05:30
Ankush Menat
b0aaeb5096 fix: Dont let one invalid cron fail scheduler
Scenario:
- One bad cron job exists
- When it fails nothing after that job is enqueued.

After this fix, that failure is skipped and rest of the jobs are enqueued.
2024-05-02 13:36:14 +05:30
Ankush Menat
8bd40b38e1
fix: reportview average of ints should be float (#26284) 2024-05-02 06:41:15 +00:00
Akhil Narang
3db923995c
Merge pull request #26283 from gparent/canada-dateformat
fix(Geo): change Canadian all numeric dates to ISO 8601 format
2024-05-02 12:04:30 +05:30
gparent
902d48ce86 fix(Geo): change Canadian dates to ISO 8601 format 2024-05-02 02:11:04 +00:00
Raffael Meyer
02ea846cd4
fix: automatic logo width (#26273) 2024-05-01 19:16:26 +05:30
Raffael Meyer
8eb8c64fbd
fix(Navbar Settings): reload page after save (#26274)
* fix(Navbar Settings): reload page after save

* test: file uploader flake

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-05-01 13:20:04 +00:00
Ankush Menat
0a34f8b28e
fix!: remove "remove empty rows" behaviour (#26269)
This doesn't make sense:
1. A field which is not in list view can be modified
2. A modified field can actually have falsy value
2024-05-01 07:33:30 +00:00
Raffael Meyer
42be1455f8
fix(oauth2): refresh token is optional (#26266)
Don't overwrite refresh_token with an empty string, if no new refresh_token is received (i.e. the old one is still valid).

Ref: https://www.rfc-editor.org/rfc/rfc6749#section-5.1
2024-05-01 12:35:58 +05:30
Ankush Menat
ee64b2cb6c
fix!: Only use webserver_port in developer mode (#26268) 2024-05-01 12:11:01 +05:30
Maharshi Patel
72b1db0ae5
revert: fix: pointless conditions about systemd/supervisor (#26267)
commit added port numbers in urls which broke links on fc.
2024-04-30 20:31:48 +00:00
Raffael Meyer
0696123661
fix(Data Import): don't attempt to show logs for unsaved import (#26263) 2024-04-30 16:46:46 +00:00
Ankush Menat
a7e8139c65
Merge pull request #26262 from ankush/sys_helth
fix: misc sys health report fixes
2024-04-30 20:35:50 +05:30
Ankush Menat
1a3c23290f refactor: avoid deprecated method 2024-04-30 20:22:42 +05:30
Ankush Menat
b5bc8b308d fix: system health ergonomics
- if redis is down it takes 10 second and doesn't indicate that
  correctly
- full traceback is shared in debug log, if some step fails
2024-04-30 20:20:53 +05:30
mergify[bot]
6301b208e4
fix: Treeview DB lookup should perform the same preperation operation… (backport #26199) (#26258)
* fix: Treeview DB lookup should perform the same preperation operations as method update_nsm in file nestedset.py (#26199)

(cherry picked from commit 7d25aedaafde97c5b911cd8ea727d7afdf1e844e)

# Conflicts:
#	frappe/desk/treeview.py

* chore: conflicts

---------

Co-authored-by: Fritz <fixundfertig123@web.de>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-04-30 14:20:46 +00:00
Ankush Menat
9567efe20b
test: file uploader flaky test (#26254)
Previous window left open kills all other tests with no way to know
which one
2024-04-30 14:18:18 +00:00
Rutwik Hiwalkar
ba2715582b
fix: init db conn for unbuffered cursor if not set (#26220)
* fix: init db conn for unbuffered cursor if not set

* chore: check conn and not cursor

---------

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-04-30 12:54:12 +00:00
Nahuel Operto
c0e779998d
fix: lstrip for query writes detection (#26180) 2024-04-30 18:09:22 +05:30
Raffael Meyer
774f5cc1c6
fix(Data Import): don't rely on permission for Data Import Log (#26228) 2024-04-30 18:00:24 +05:30
Ankush Menat
c1e8d8e791
test: flaky link field test (#26246) 2024-04-30 11:12:49 +00:00
Exequiel Arona
2263acf80c
feat: workspace extraction improvements (#26169)
* feat: add extractor for count format of shortcut

* feat: add extraction of description string
2024-04-30 16:14:34 +05:30
Maharshi Patel
6a6ded156f
chore: warn if wkhtmltopdf is invalid (#26174)
* chore: warn if wkhtmltopdf is invalid

wkhtmltopdf ( with patched qt ) is required to generate pdfs properly.
when user clicks on PDF, pdf will be generated and downloaded.
however, on print preview page warning will be shown.

* chore: refactor based on review comments

* chore: return False incase of exception

* chore: refactor and better naming

Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
2024-04-30 10:36:56 +00:00
Ankush Menat
f244f3c76f
fix: perm query for dashboard (#26239) 2024-04-30 09:43:51 +00:00
Ankush Menat
775f113145
test: wait for duration control (#26235) 2024-04-30 06:45:26 +00:00