Commit graph

3940 commits

Author SHA1 Message Date
Deepesh Garg
dffd78d3fc fix: Validate server script for doc events 2021-09-27 12:02:31 +05:30
Abhishek Saxena
1d02d26a2b
Merge branch 'develop' into aks-fix-postgres 2021-09-07 17:42:03 +05:30
Gavin D'souza
2178ea7c96 style: Fix indentation for get_all query 2021-09-07 11:08:02 +05:30
Your Name
5669d9c559 fix: pass distinct as argument in set_modules 2021-09-06 16:41:41 +05:30
Rushabh Mehta
5befc80cd4 fix(minor): linting 2021-09-05 22:30:09 +05:30
Rushabh Mehta
20dea90670 feat(minor): Packages! also cleanup of DocField and other minor fixes 2021-09-05 22:01:55 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
65864c027f chore: Update module license header
These modules were imported from the ERPNext codebase into Frappe.
License header was overlooked at that point. These were contributed
initially by Frappe Technologies Pvt Ltd under GPLv3 (ERPNext's license) and now
we, as Frappe Technologies Pvt Ltd converting them to MIT to comply with
Frappe's license.
2021-09-03 11:51:01 +05:30
Rushabh Mehta
cec53b595a fix(cleanup): cleanup email account, bug fix for web_template.js and more 2021-08-31 15:27:25 +05:30
MitulDavid
9b824684a9 test: Move tests for optimize_file to separate test case 2021-08-27 11:56:18 +05:30
MitulDavid
23c34183f3 test: Add tests for optimize_file 2021-08-25 17:17:39 +05:30
MitulDavid
15ba0fbe3e refactor: Remove set_route after optimization 2021-08-25 17:15:29 +05:30
MitulDavid
0b4d084ceb fix: Flags not set on error during .save() 2021-08-25 17:14:32 +05:30
Gavin D'souza
8ba8d97f53 Merge branch 'develop' into img-processing-changes 2021-08-25 12:12:46 +05:30
Gavin D'souza
75ff78e6bd fix(File): Remove extra API endpoint
Got rid of frappe.core.doctype.file.file.optimize_saved_image in favour
of whitelisted Document Action File.optimize_file
2021-08-25 12:03:33 +05:30
Gavin D'souza
bc596e9681 fix: Revert file on disk if rolledback 2021-08-25 11:45:00 +05:30
Gavin D'souza
0611c1698f refactor: File.optimize_file
Simplified method logic
2021-08-25 11:34:05 +05:30
Suraj Shetty
af93d35471 fix: Use remove_all in file_manager.py 2021-08-24 14:33:53 +05:30
Suraj Shetty
14783a1ba1 fix: Remove unnecessary raise after throw 2021-08-24 10:25:33 +05:30
MitulDavid
cc5a23411b refactor: Image cropping and optimization 2021-08-23 11:15:02 +05:30
Suraj Shetty
743e361449
Merge branch 'develop' into core-test-coverage-1 2021-08-23 11:02:50 +05:30
Suraj Shetty
5587ab5a91 style: Fix liinter warnings 2021-08-20 23:54:42 +05:30
Suraj Shetty
9e4c8cc28e chore: Remove commented text 2021-08-20 23:35:55 +05:30
Suraj Shetty
6f72e79f1a test: Add more assertions for reset password 2021-08-20 22:35:01 +05:30
Suraj Shetty
d92724dfba test: Fix typo 2021-08-19 22:04:23 +05:30
Suraj Shetty
ed41602526 test: Add more assersions and minor refactor 2021-08-19 21:43:43 +05:30
Suraj Shetty
3acab8a7c7 test: Add test cases for unzip functionality 2021-08-19 21:40:12 +05:30
Suraj Shetty
36f698f0f8 fix: Unzip functionality 2021-08-19 21:38:57 +05:30
Gavin D'souza
ebc220db39 refactor(tests): frappe.db.delete > frappe.db.sql
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql ;)
This commit focuses on the tests written under the doctype specific
tests
2021-08-19 19:50:48 +05:30
Suraj Shetty
07906594e3 test: Fix failing test 2021-08-19 19:33:37 +05:30
Suraj Shetty
133be72dfd fix: Do frappe.db.commit() only for GET request 2021-08-19 18:21:40 +05:30
Suraj Shetty
1cf1bc1e06 refactor: Remove unused functions 2021-08-19 17:48:40 +05:30
Suraj Shetty
ebc9d35da1 fix: File name from data URI headers 2021-08-19 17:39:45 +05:30
Suraj Shetty
bc234e9052 test: Add test case for extract_image_from_doc 2021-08-19 17:38:09 +05:30
Suraj Shetty
21e664b23b test: Fix file_name assertion 2021-08-19 16:02:20 +05:30
Suraj Shetty
6b1955b34a test: Add test image file 2021-08-19 15:27:48 +05:30
Suraj Shetty
a7fb1816aa refactor: Remove unused and redundant code 2021-08-19 15:27:25 +05:30
Suraj Shetty
1427712c88 test: Add test cases for file
- file_url validations
- make_thumbnail
2021-08-19 14:41:25 +05:30
Suraj Shetty
c681b1af27 fix: Make thumbnail function 2021-08-19 14:40:20 +05:30
Suraj Shetty
b23713bf5d Merge branch 'develop' of https://github.com/frappe/frappe into core-test-coverage-1 2021-08-18 13:39:34 +05:30
Shariq Ansari
3baa33d5da
fix: Use IP Address instead of Email field (#13553) 2021-08-18 13:21:10 +05:30
Suraj Shetty
fe15028df3 test: Fix reset password test 2021-08-18 10:20:08 +05:30
Suraj Shetty
093c72e963 test: Update role profile test case with more assertions 2021-08-18 09:04:01 +05:30
Suraj Shetty
7217277394 test: Fix flaky test 2021-08-18 09:03:03 +05:30
Suraj Shetty
d1c63a4b54 refactor: Move code to appropriate location
- update_roles had no use in user.py so moved it to role_profile.py where it is actually used
2021-08-18 08:22:48 +05:30
Suraj Shetty
604263929f test: Add more assersions to test cases
- for better coverage
2021-08-18 08:20:22 +05:30
Suraj Shetty
ba369da61b test: Add test case to validate user signup throttling 2021-08-17 14:33:34 +05:30
Suraj Shetty
ddf4bb80b8 fix: Signup throttling for postgres 2021-08-17 14:30:17 +05:30
Suraj Shetty
81a5937751 test: Add "password update" test 2021-08-17 13:47:58 +05:30
Suraj Shetty
d36d6055ae refactor: Remove check demo and redundant code 2021-08-17 13:45:39 +05:30