Athul Cyriac Ajay
31a37ed671
chore: Add make_put_requests method for Server Scripts ( #18128 )
2022-09-14 15:54:15 +05:30
Ritwik Puri
7f4974e923
Merge branch 'develop' into sync-dashboard
2022-09-12 16:19:19 +05:30
phot0n
1d27f936e9
fix: allow syncing of dashboard even if setup is not complete
2022-09-12 16:03:06 +05:30
Ankush Menat
1a60049af0
refactor: simpler job queued checking ( #18091 )
2022-09-12 12:59:00 +05:30
phot0n
3539dacdf0
fix: commit after app install
...
Since we destroy the connection after app installation,
mariadb implicitly rollsback the transaction hence committing upon successfull
app installation to prevent data sync loss
2022-09-12 12:23:14 +05:30
Ankush Menat
11936a76df
feat: kill a running background job -f
...
Also refactor permission checks
2022-09-12 11:49:25 +05:30
Ankush Menat
46df97c3f2
feat: show scheduler status on RQ job page
2022-09-12 11:49:25 +05:30
Ankush Menat
6d264b149a
fix: serialize function objects to their repr
2022-09-12 11:49:25 +05:30
phot0n
51ac3e8a99
fix: sync app dashboard on app install
...
* chore: fix sync_dashboards' docstring
2022-09-12 00:01:21 +05:30
Ankush Menat
5152f13b10
fix: RQ reduce failed job TTL from 1 year to 7 days
2022-09-10 23:54:43 +05:30
Ankush Menat
55617b9e86
fix: defer logging during read only mode
...
Deferred:
- Error log
- view log
- web page view
Disable:
- "_seen" tracking used on list view to highlight unseen docs.
- "seen" on error log.
- dashboard chart last ts caching
2022-09-09 17:34:46 +05:30
phot0n
42fcf61cae
refactor: allow root deletion by default for nested set
...
* deprecate allow_root_deletion param in on_trash nestedset hook
* allowed to turn root deletion off by allow_root_deletion class variable
in doctype controller
2022-09-02 21:37:38 +05:30
Deepak
9c4318028a
feat: Allow Root deletion for tree doctypes
2022-09-02 19:47:13 +05:30
HENRY Florian
df9e8c62dd
feat: review Custom and Build workspace, move background Job to Build Workspace ( #17981 )
...
* feat: review link for Custom, build and NavBar
* feat: review link for Custom, build and NavBar
* feat: review link for Custom, build and NavBar
* feat: review link for Custom, build and NavBar
* feat: review link for Custom, build and NavBar
* feat: review link for Custom, build and NavBar
* chore: linter json
* fix: replace Block Module By Module Profile
* chore: cypress test
* chore: reset package.json to develop
* refactor: workspace link, system logs section
- removed workspace listview link, visiting list view isn't required for
practically all the tasks
- Frappe Logs -> System Logs
[skip ci]
Co-authored-by: Ankush Menat <ankush@frappe.io>
2022-09-02 11:20:59 +05:30
barredterra
d0b753a25d
refactor: move lang into frappe namespace
2022-09-01 17:12:58 +02:00
barredterra
836fd6ef78
feat: add lang to safe globals
2022-09-01 16:53:20 +02:00
Ankush Menat
1f089f44f6
feat: RedisearchWrapper
...
Like rediswrapper but for redisearch to allow multitenancy.
2022-08-31 17:04:31 +05:30
Ankush Menat
fbee80f734
perf: rebuild website search index in background ( #17974 )
...
* perf: rebuild website search index in background
* refactor: allow enqueueing jobs during migrate
This was added a long time ago to handle missing redis during migrate.
It is not the case right now as redis HAS to be availabe during
migration.
ref: https://github.com/frappe/frappe/pull/2988
* ci: pass correct build type
* chore: warn about redis unavailability
2022-08-26 17:41:07 +05:30
Ankush Menat
17d327719e
build(deps): drop unused dependencies
...
- googlemaps
- google-auth-httplib2
- urllib3
- pypng
- pyasn1
- gitdb
2022-08-26 10:23:09 +05:30
Ankush Menat
9ce3d3c81b
docs: warning for remove subtree
...
[skip ci]
2022-08-25 11:35:53 +05:30
Raffael Meyer
d05ed27a01
feat: remove subtree ( #17647 )
...
* feat: remove subtree
* test: remove_subtree
2022-08-25 11:34:05 +05:30
Ankush Menat
4241f8c8c0
perf: simpler/faster preload header computation
...
We parse entire response to find preload headers, instead just use
include_style and include_script to include assets directly into preload
headers. This shaves off ~13% overhead in response.
2022-08-21 18:46:58 +05:30
Ankush Menat
48869d506f
perf: dont order by for uniq searches
2022-08-21 17:37:40 +05:30
Ankush Menat
f2b6c937c9
fix: pop pwd from form dict, disable auth loggin
...
- This prevents accidental logging of this info somewhere down the line.
- Disable exception logging for auth failures
2022-08-18 15:32:42 +05:30
Ankush Menat
b7a7f97a7a
refactor: convert get email count query to ORM
...
- also fix capitalization of column names on postgres
2022-08-16 10:53:28 +05:30
Ankush Menat
9f31723555
refactor: directly map function over lambda call
2022-08-16 10:53:28 +05:30
Ankush Menat
53af10a064
refactor!: python pretty_date consistent with JS
...
Python pretty date was ceiling month and week instead of flooring them,
this is incorrect AND inconsistent with popular JS library pretty date
that we use on client side
2022-08-16 10:53:28 +05:30
Ankush Menat
9de31d03c1
refactor!: timespan utils consistent output
...
BREAKING CHANGE:
- `get_year_ending` returns datetime.date instead of str
- `get_timespan_date_range` will always return datetime.date ranges
2022-08-16 10:53:28 +05:30
Ankush Menat
a88819230a
refactor: convert get_timespan_date_range to use match
2022-08-16 10:53:28 +05:30
Ankush Menat
3fa4ec1bd6
refactor: container utils and misc tests
2022-08-16 10:53:28 +05:30
Ankush Menat
ad4cb710f2
refactor: duplication in gravatar code
2022-08-16 10:53:28 +05:30
Ankush Menat
9b5565437c
refactor: extract_email_id condition
...
The condition made no sense and could never be True.
2022-08-16 10:53:28 +05:30
Ankush Menat
9bf9256049
test: validate name
2022-08-16 10:53:28 +05:30
Ankush Menat
26bf65b87c
test: phone number validation
2022-08-16 10:53:28 +05:30
Himanshu
3faaf5f361
Merge branch 'develop' into merge_translated_doctypes
2022-08-12 13:10:49 +01:00
Gavin D'souza
a428c73a90
refactor: Itenticon
...
* Use later updated library code (fixes bug) from existing vendored dependency
* Update attributions.md
* Simplify usage in get_gravatar
2022-08-11 23:53:21 +05:30
Gavin D'souza
605e5a3010
refactor: make_random
...
* Simplify logic
* Add typing
2022-08-11 23:53:21 +05:30
Gavin D'souza
8d19a815b3
refactor: bench_helper
...
* Walrus operators ftw
* Pathlib to reduce verbose path joins crie
* Added typing for sanity
2022-08-11 23:53:21 +05:30
Himanshu
44c2a2e309
Merge branch 'develop' into merge_translated_doctypes
2022-08-09 11:50:32 +01:00
Faris Ansari
cafd2c920d
fix(sanitize-html): allow all data-* attrs
2022-08-08 18:36:54 +05:30
hrwx
476b628a4e
chore: revert changes to github workflow template
2022-08-06 10:52:59 +01:00
hrwx
b01929405d
refactor: translatable doctypes
2022-08-05 21:38:10 +01:00
Gavin D'souza
2933a06e80
Merge branch 'develop' of github.com:frappe/frappe into refactor-oauth-tests
2022-08-03 16:37:38 +05:30
Ankush Menat
bdeb032fba
refactor: use separate config key for encryption ( #17720 )
2022-08-03 13:52:02 +05:30
Gavin D'souza
750618ca7c
fix: Re-raise original exception from tenacity's retry
2022-08-03 12:01:12 +05:30
Gavin D'souza
7f2c9e84b3
feat(minor): Expose use_cookies kwarg to test client
2022-08-02 17:30:07 +05:30
Gavin D'souza
3863d9bb80
fix(global_search): Trigger rebuilding on Custom Field's property change
2022-08-02 14:49:04 +05:30
Shariq Ansari
c478673367
fix: allow to import time field ( #17677 )
2022-08-01 14:50:40 +05:30
Suraj Shetty
3de50b1c84
Merge pull request #17625 from netchampfaris/update-progress-bar-absolute
2022-07-27 16:55:49 +05:30
Faris Ansari
21bbe18cc4
fix: absolute option for terminal progress bar
2022-07-27 12:37:19 +05:30