Commit graph

38699 commits

Author SHA1 Message Date
Suraj Shetty
165a0a408f chore: Add licenses to leaflet libraries 2022-07-04 11:38:06 +05:30
Suraj Shetty
cd2aeffce7
Merge branch 'develop' into cleanup-libs 2022-07-04 10:05:43 +05:30
Suraj Shetty
728ff49cec refactor: Get sortable js from node_modules instead of vendoring it
- No point in having a copy since there are no customization done.
2022-07-04 09:17:20 +05:30
Suraj Shetty
8355ca81e0 fix: Add missing licences for vendored library 2022-07-04 08:29:56 +05:30
Suraj Shetty
58d79720c6 chore: Remove unused libraries and files 2022-07-04 08:25:51 +05:30
Ankush Menat
cc15cc73eb chore: delete old conf files
We dont use pylint and it's not even valid pylint config.

[skip ci]
2022-07-01 18:16:34 +05:30
Suraj Shetty
f3ad2ee6ac chore: Remove unused less files 2022-07-01 18:14:06 +05:30
Suraj Shetty
2ea0b58873 fix: Allow all origins with credentials 2022-07-01 17:54:50 +05:30
mergify[bot]
6924f3e243
Merge pull request #17372 from nihantra/calendar_view_assign
fix: calendar view set in assign time
2022-07-01 09:33:00 +00:00
Nihantra C. Patel
3287bce213
fix: calendar view set in assign time 2022-07-01 13:46:33 +05:30
Ankush Menat
d614bad667
ci: force modern python with pyupgrade (#17370)
also add previous bulk change to git-blame-ignore-revs
2022-07-01 12:09:27 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features (#17367)
refactor: clean up code to py39+ supported syntax

- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes

Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Ankush Menat
aad7ebc938
fix: extra notification triggered on value change (#17364)
Since value in DB and value on object can be in different type the
notification gets triggered unnecessarily

e.g. data(2012, 10, 10) != "2012-10-10"
2022-06-30 20:25:29 +05:30
Suraj Shetty
97b1fb6469
Merge pull request #17283 from deepeshgarg007/trigger_on_blur 2022-06-30 20:21:55 +05:30
gavin
cc4a296492
Merge pull request #17362 from gavindsouza/patch-build-py310
ci(patch): Set pyenv version to 310 before running install step
2022-06-30 16:07:11 +05:30
Gavin D'souza
95ad77584a ci: Install bench CLI before switching pyenv 2022-06-30 15:49:27 +05:30
Gavin D'souza
80f36b255a ci: Install bench CLI to system python 2022-06-30 15:41:12 +05:30
Ankush Menat
befabac17e
fix: correctly fetch list of users with role (#17363)
fix: correctly fetch user list

`HasRole` table is attached to many doctypes, only User should be
filtered out.
2022-06-30 15:29:32 +05:30
Gavin D'souza
c2516c7460 ci(patch): Install bench CLI on all Python envs
\# HACK
2022-06-30 15:26:19 +05:30
Gavin D'souza
f44333a18e ci: Use bench commands with verbose option 2022-06-30 15:24:03 +05:30
Gavin D'souza
4451773daa ci: Fetch pyenv installed specific version 2022-06-30 15:12:03 +05:30
Gavin D'souza
f16a24a777 ci: Set pyenv version to 310 before running install step 2022-06-30 14:45:47 +05:30
gavin
e8f46015f0
Merge pull request #17355 from gavindsouza/PY310
build!: Bump minimum Python version to 3.10
2022-06-30 14:25:46 +05:30
gavin
4b5a0768ac
Merge pull request #17361 from gavindsouza/webhook-unbound-res
fix(webhook): Unbound 'r' through request timeout
2022-06-30 14:24:30 +05:30
Gavin D'souza
96b3ee4dc3 fix(webhook): Unbound 'r' through request timeout
Errors like `requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='httpbin.org', port=443): Read timed out. (read timeout=5)`

ref: https://github.com/frappe/frappe/runs/7126891200?check_suite_focus=true
2022-06-30 13:36:08 +05:30
Gavin D'souza
ab54e72cbc ci(patch): Switch Python env for each version 2022-06-30 13:11:26 +05:30
Gavin D'souza
404d5a3cd7 build!: Bump minimum Python version to 3.10
Given how widespread PY310's usage has become, and how we're just a
few months away from PY311 major release. This is a slightly late
bumping but necessary to ensure smoother updates & maintenance for
Frappe, ERPNext & other apps in the coming years. Almost all people
who participated in the pool from the community as well as Frappe team
voted (via active telegram groups) PY310 as their preferred minimum
requirement for v14.
2022-06-30 13:11:26 +05:30
gavin
abfbe3daa4
build: Use toml defined dev dependencies over txt file (#17356)
* build: Use toml defined dev dependencies over txt file

* chore: Remove redundant ==

* ref: https://github.com/frappe/bench/releases/tag/v5.12.1
* Linter's style updates

* chore(deps): Bump coverage from 5.5 to ~=6.4.1
2022-06-30 12:21:28 +05:30
gavin
e814a29fc7
Merge pull request #17348 from gavindsouza/translate-public
fix(translation): Translate strings in public folders
2022-06-30 12:08:17 +05:30
Ankush Menat
ef67052c68
Merge pull request #17358 from frappe/revert-17131-get-all-mod
Revert "feat: Adding support to Query engine"
2022-06-30 10:10:29 +05:30
Ankush Menat
813dcc1848
Revert "feat: Adding support to Query engine" 2022-06-29 23:30:23 +05:30
mergify[bot]
a905a3d755
Merge pull request #17265 from deepeshgarg007/migration_failures
fix: Migration failures for version-13 to develop
2022-06-29 10:28:09 +00:00
Ankush Menat
3ec6f7f470 refactor: merge two workspace2.0 patches 2022-06-29 15:37:44 +05:30
Ankush Menat
61c958c9bb Merge branch 'develop' into migration_failures 2022-06-29 15:33:20 +05:30
Suraj Shetty
05f416e448 refactor: Removed vendored socketio library
- Removed vendored socketio library
- Add socket.io-client library
- Removed unnecessary code in socketio server
- Remove chat related code
2022-06-29 14:58:13 +05:30
Ankush Menat
e1f3c48607
Merge branch 'develop' into translate-public 2022-06-29 14:35:05 +05:30
Suraj Shetty
c72731c4af chore: Update socket io, remove fuse.js
- Install cliui as devDependency
- Add @vue/component-compiler
2022-06-29 14:31:06 +05:30
Ritwik Puri
683e9a380e
fix: escape comma from brazilian portuguese translation (#17349) 2022-06-29 14:29:39 +05:30
Gavin D'souza
a15411d1e1 fix: Skip invalid field in get_print_settings_to_show 2022-06-29 12:53:49 +05:30
mergify[bot]
b189cf4bc8
Merge pull request #17305 from treasuryesc/develop
fix: correct Brazilian portuguese translations
2022-06-29 06:57:06 +00:00
Gavin D'souza
5f0555d982 fix: Translate strings in public folders too 2022-06-29 11:58:53 +05:30
Ankush Menat
181833848f
Merge pull request #17337 from ankush/lint_cleanup
fix: remove bare exception catching
2022-06-29 11:39:05 +05:30
gavin
d89c1e1666
Merge pull request #17346 from gavindsouza/ci-min-PY38
ci: Match CI with minimum Python version requirement
2022-06-29 11:33:15 +05:30
mergify[bot]
3e69b562f1
Merge pull request #17131 from Aradhya-Tripathi/get-all-mod
feat: Adding support to Query engine
2022-06-29 05:36:33 +00:00
Gavin D'souza
6862c10403 ci: PY38 compatible roulette 2022-06-29 11:04:01 +05:30
Ankush Menat
069b0ec650 chore: py38 safe typehint 2022-06-29 11:01:55 +05:30
Gavin D'souza
091debb14f chore: Stringify incompatible typing hints 2022-06-29 10:56:05 +05:30
Gavin D'souza
bd3d7bf3ed ci: Run test builds on min requirement PY38
Since version pinned in pyproject.toml is 38 & we've been running on 39,
we've pushed a few incompatible changes since :crie:
2022-06-29 10:44:55 +05:30
Gavin D'souza
ee18694b1b test(fix): Import Max for test_functions_fields 2022-06-29 10:40:21 +05:30
gavin
91e76ff874
Merge branch 'develop' into get-all-mod 2022-06-28 19:47:20 +05:30