2
0
mirror of https://github.com/frappe/frappe.git synced 2024-06-12 20:42:21 +00:00
Commit Graph

108 Commits

Author SHA1 Message Date
Ankush Menat
148b3f771d
build: bump RQ to latest (#26576)
* build: Bump RQ

Latest version simplifies workerpool extension a bit

* fix: Disable RQ's scheduler

It's now enabled by default with no easy way to disable it except
upstream change or overriding the run_worker method. So better to
disable it with custom worker class.
2024-05-27 13:54:34 +00:00
Ankush Menat
433e7281f7 feat: make running scheduler with worker optional 2024-05-27 12:14:15 +05:30
dependabot[bot]
ba199f8e4b
--- (#26520)
updated-dependencies:
- dependency-name: pymysql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 12:06:04 +05:30
Ankush Menat
1b025c76da
build: Bump requests (#26501)
Minor security issue, not really used by us this way afaik.
2024-05-21 07:59:18 +00:00
Ankush Menat
5ca14bb171 feat: FC specific update notifications 2024-05-04 15:08:34 +05:30
Ankush Menat
723e557da7
build: bump gunicorn (#25980)
https://github.com/benoitc/gunicorn/releases/tag/22.0.0
2024-04-17 10:44:53 +05:30
barredterra
708e10552c chore: bump sql_metadata to 2.11.0 2024-04-16 17:11:03 +02:00
barredterra
733a7fe6f8 chore: bump sqlparse to v0.5.0 2024-04-16 16:56:54 +02:00
barredterra
53bd1a85d1 chore: bump pydantic to v2.7.0 2024-04-16 16:53:41 +02:00
Ankush Menat
e055d2742a
build(deps): bump pillow again (#25827)
GHSA-44wm-f244-xhp3
2024-04-06 12:49:06 +00:00
Ankush Menat
6c79a13641 feat: UUID naming support 2024-03-29 19:02:28 +05:30
marination
5dbcbbb915 fix: Use CssParser to correctly pass options to wkhtmltopdf
- Regex incorrectly fetches .print-format's child styles and also extracts the wrong attribute value
- A CssParser is more maintainable and more readable as well as less prone to errors while extracting values
- Method: We extract style tag contents out of the html and tokenize them. We then filter the styles for the right selector and extract the attributes we want from them.
- This way we make sure that the right value is extracted and only the ones applicable to .print-format directly
2024-03-26 10:33:35 +01:00
Ankush Menat
ea193ecd48 Revert "Revert "fix: search_link fails when txt contains parentheses (#22892)""
This reverts commit c0cf13b8e8.
2024-03-20 12:29:57 +05:30
barredterra
031d227542 chore: specify typing models for ruff
Resolves #25313
2024-03-10 20:41:05 +01:00
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
Akhil Narang
fbb0e44791
ci: switch to ruff for linting
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 16:38:41 +05:30
Akhil Narang
679287a4fd
chore(deps): bump pyopenssl to match
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-06 10:35:53 +05:30
Akhil Narang
ddcf654423
chore(deps): bump cryptography
https://github.com/advisories/GHSA-3ww4-gg4f-jr7f

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-06 10:29:53 +05:30
Ankush Menat
b418dba7ae ci: migrate from isort to ruff 2024-02-05 18:53:33 +05:30
Ankush Menat
2cdbf54e8d ci: migrate from forked black to ruff-format 2024-02-05 18:35:55 +05:30
Ankush Menat
7504ccaca8 fix: Pin pypika
We've multiple monkey patched changes, we can't rely on loose pinning.
2024-02-05 16:45:48 +05:30
jll-02
12a246d697
chore(deps): removes unused cariocffi dependency 2024-02-01 08:15:00 +01:00
Ankush Menat
ae984a59bf build: bump pillow
for GHSA-3f63-hfp8-52jq
2024-01-24 12:20:02 +05:30
Ankush Menat
c0cf13b8e8 Revert "fix: search_link fails when txt contains parentheses (#22892)"
This reverts commit 642e9f4ec1.
2024-01-17 12:44:20 +05:30
Sambasiva Suda
642e9f4ec1
fix: search_link fails when txt contains parentheses (#22892)
* fix: search_link fails when txt contains parentheses

* fix: updating regex to replace number params also

* chore: replacing regex with sqlparse

* chore: not including fields like count(1) in asterisk_fields

* fix: owner/module not identified as column

* chore: lint fix and removing exception

* refactor: better function name

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-01-16 21:36:45 +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
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
cfae292d3e chore: bump dropbox 2024-01-14 15:41:37 +01:00
Ankush Menat
00f20f43c6
build: add setproctitle as dependency (#24007)
* build: add setproctitle as dependency

RQ and other tools use it to automatically set a useful proc title

* ci: print all bench logs after running tests

This can help reveal failures from background jobs etc
2023-12-28 20:50:27 +05:30
Akhil Narang
9a0a5468c5 feat: setup sentry integration
Inspired primarily from sentry's generic WSGI integration

Environment variable `FRAPPE_SENTRY_DSN` needs to be enabled as well
as explicit opt-in from the user's side in system sid telemetry
settings

Conditionally include telemetry JS bundles

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2023-11-30 17:13:41 +05:30
Ankush Menat
21e8abf899
build: python 3.12 support (#22706)
* ci: use python 3.12

We'll use minimum versions on stable branch CI configs.

* build(deps): bump dependencies

- Some for v12 support
- some just for new stuff
2023-11-23 11:42:51 +05:30
David Arnold
0ff08e4e0f
build(python): restricted python goes up to 3.11 only (#23229) 2023-11-15 18:23:42 +05:30
Bernd Oliver Sünderhauf
888fc5fc55
build(deps): Update PyPDF to v3.17.0 (#23060) 2023-11-02 19:46:28 +05:30
Sagar Vora
c4cabbb11a
chore: bump werkzeug to 3.0.1 (#22945) 2023-10-27 16:47:26 +05:30
Ankush Menat
05d6f5cc8a test: Add cold start tests 2023-10-18 17:55:48 +05:30
Ankush Menat
1a563164d7
chore: bump gitpython again 2023-09-07 11:32:07 +05:30
Ankush Menat
cbc5f0b8db
build(deps): update python dependencies (#22294)
* build!: Remove pycryptodome dependencies

This is added for payments app, shouldn't be added here.

ref: https://github.com/frappe/frappe/pull/9955/

* build(deps): update many python dependencies
2023-09-02 12:10:13 +00:00
Ankush Menat
9e2a0384e0
build: bump gitpython (#22290) 2023-09-02 15:29:14 +05:30
Ankush Menat
cef0399fa3 build(deps): update RestrictedPython to latest version 2023-08-31 10:51:06 +05:30
Ankush Menat
4649c8dacf
build(deps): Bump gunicorn to latest version (#22086) 2023-08-17 11:11:01 +05:30
Ankush Menat
02e1311b3a build: pin typing_extensions to major version 2023-08-11 11:54:09 +05:30
Gavin D'souza
84f134a683
fix: Add "better" typing hints 2023-08-11 11:45:47 +05:30
Sagar Vora
b4629d8c02
chore: strictly pin responses to 0.23.1 to avoid pip conflicts (#21816) 2023-07-27 10:41:20 +05:30
Smit Vora
89b9b64a55
fix: installation error, cannot import name 'DEFAULT_CIPHERS' from 'urllib3.util.ssl_' (#21810)
Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-07-26 15:00:04 +05:30
Suraj Shetty
6c509f6dd1
Merge pull request #21782 from blaggacao/bump-bleach 2023-07-25 18:21:31 +05:30
David Arnold
cf8a603dac
build(deps): update premailer 3.8.0 -> 3.10.0 (#21783) 2023-07-24 16:26:27 +05:30
David Arnold
8ff913b8ad
build(deps): update bleach 3.3.0 -> 6.0.0 2023-07-23 20:00:28 -05:00
Ankush Menat
03a582d7cd
build(deps): update pyyaml to 6.0.1 (#21728) 2023-07-19 11:41:17 +05:30
gavin
58fc6a2b94
build: Bump to stable Pydantic v2 2023-06-30 22:18:45 +05:30