Commit graph

847 commits

Author SHA1 Message Date
Gavin D'souza
bf14e1f2b1 test: Add test for patch_query_execute 2021-08-12 18:37:05 +05:30
mergify[bot]
3dc9dfe0c7
Merge pull request #13842 from netchampfaris/safe-render-off
fix: ability to disable safe_render for template pages
2021-08-12 11:54:32 +00:00
mergify[bot]
29203416ad
Merge pull request #13904 from saxenabhishek/aks-style-qb
style: split qb.table into doctype and table
2021-08-11 05:24:34 +00:00
mergify[bot]
afd69729de
Merge pull request #13835 from MitulDavid/image-processing
feat: Image cropping and optimization
2021-08-10 05:16:08 +00:00
Leela vadlamudi
40362c0ac5
Merge pull request #13861 from leela/amended-doc-naming
refactor: set amended docname to original docname
2021-08-09 17:22:55 +05:30
leela
80d111baf2 refactor: set amended docname to original docname
Currently, whenever a document is amended it's name is set
to name-X(X is a counter) when amended again and so on. In this PR,
we have postfixed all cancelled document names with '-CAN' and new
cancelled documents gets a name as original_name-CANC-X.
so that amended docs can use the original name instead of name-X.
2021-08-09 14:59:07 +05:30
MitulDavid
11eefe3eee test: Add test for image cropping and optimization UI 2021-08-08 18:09:58 +05:30
Your Name
946243d511 style: split qb.table into doctype and table 2021-08-07 03:31:35 +05:30
Mitul David
4f86cdb8f8
Merge branch 'develop' into image-processing 2021-08-06 18:45:59 +05:30
MitulDavid
14fac949af test: Add test for optimize_image utility 2021-08-06 18:43:14 +05:30
Ankush
257723cb0a
feat: PythonExpression and Python option with syntax validation for Code field types (#13707)
* feat: `PythonExpression` and `Python` options for `Code` fields

* fix: check python expressions in assignment rule

* fix: replace server script syntax validation

* fix: validate condition in workflow transition

Add PythonExpression in Options.
2021-08-06 04:10:09 +00:00
Sagar Vora
0dec1f792a test: has_permission hook should call custom methods first 2021-08-05 11:52:31 +05:30
Suraj Shetty
99a04d24d1
Merge branch 'develop' into set-password 2021-08-04 16:57:26 +05:30
Faris Ansari
47a21fb9a7 test: db.commit to release lock 2021-08-04 16:29:22 +05:30
Faris Ansari
7a34c542c1 test: safe_render 2021-08-03 12:40:48 +05:30
Faris Ansari
fbd900aaff test: for set-password and set-admin-password 2021-08-02 15:28:25 +05:30
Gavin D'souza
29706e5d14 test: Update tests as per new lang resolution 2021-07-30 19:50:38 +05:30
saxenabhishek
42dc8a180f refactor: get_table_name, run_only_if 2021-07-30 11:48:12 +05:30
saxenabhishek
7671e78487 style: minor fixes and improvements 2021-07-30 11:29:41 +05:30
saxenabhishek
9423861c34 test: for db rename, change_column_type, describe 2021-07-30 11:29:23 +05:30
saxenabhishek
639b666a0d test: for qb builder classes 2021-07-30 11:00:35 +05:30
saxenabhishek
681d0ab995 test: for qb Match and GroupConcat 2021-07-30 11:00:35 +05:30
Leela vadlamudi
2c659e1bce
Merge pull request #13746 from leela/rq-auth
feat: Redis Authentication and namespaces for Redis queue instance
2021-07-30 09:07:31 +05:30
Leela vadlamudi
32a266927f
Merge pull request #13800 from leela/revert-amend-doc-feat
Revert "refactor: set amended docname to original docname"
2021-07-30 06:45:59 +05:30
leela
ff973477a3 fix: Use bench path as default bench_id 2021-07-29 20:43:34 +05:30
Gavin D'souza
01d275f667 style: Format code for better readability
* Remove trailing whitespaces
* Format code to fit module conventions
* Add appropriate new lines between imports, classes, fn defs, etc
* Added comments, docstrings & module headers
2021-07-28 18:55:27 +05:30
leela
b719e1481d Revert "refactor: set amended docname to original docname"
This reverts commit d459847ae3.
2021-07-28 17:00:12 +05:30
leela
db09a85183 refactor: Add authentication for Redis Queue 2021-07-26 21:09:34 +05:30
Gavin D'souza
b8f2c979b5 ci: Remove test suite TestFrappeHTTPRequest
Remove tests for HTTPRequest under test_auth because Frappe
develop CI started breaking after PR merge
2021-07-24 01:56:29 +05:30
gavin
2e71f53b3d
Merge pull request #13703 from gavindsouza/lang-resolution
refactor: Request Language Resolution
2021-07-23 19:42:37 +05:30
Leela vadlamudi
7d1df10a00
Merge pull request #13697 from leela/amended-doc-naming
refactor: set amended docname to original docname
2021-07-21 11:19:28 +05:30
leela
d459847ae3 refactor: set amended docname to original docname
Currently, whenever a document is amended it's name is set
to name-X(X is a counter) when amended again and so on. In this PR,
we have changed all cancelled doc patterns to name-CAN-X,
so that amended docs can use the original name instead of name-X.
2021-07-21 10:51:32 +05:30
Gavin D'souza
a6537ce987 test: Invoke get_language directly instead of via HTTPRequest 2021-07-15 15:38:36 +05:30
Gavin D'souza
2ccfb547b5 test: Added test to check sanity of HTTPRequest.set_lang 2021-07-15 01:11:10 +05:30
Gavin D'souza
421220a872 test: Added tests for frappe.translate.get_language 2021-07-15 01:04:04 +05:30
gavin
f4d67d617b
Merge pull request #13240 from codescientist703/link-field-fix
fix: added suitable filtering mechanism to link field
2021-07-14 12:40:45 +05:30
Gavin D'souza
6f17e3d45f perf(test_search): Setup and teardown tests only if needed 2021-07-14 12:02:33 +05:30
codescientist703
b619c3d330 test: added test for order of link 2021-07-13 20:24:24 +05:30
mergify[bot]
e528c959e8
Merge pull request #13692 from resilient-tech/fix-boilerplate
fix: escape quotes before declaring variables when making a new app
2021-07-13 14:21:24 +00:00
Pruthvi Patel
bed64ef0ad test: change app description to test if quotes are being escaped 2021-07-13 18:49:26 +05:30
barredterra
199990decc Merge branch 'develop' into bench_version_branch_commit 2021-07-13 14:30:56 +02:00
barredterra
fc2c887635 test: fix return code 2021-07-13 13:23:25 +02:00
Mitul David
42585579e6
refactor: Replace str.format() with f-strings 2021-07-12 19:13:29 +05:30
Mitul David
934fc17a3b
refactor: Improve readability, consistency 2021-07-12 15:52:57 +05:30
Mitul David
95550861a7
refactor(minor): Fix indentation 2021-07-09 18:48:12 +05:30
Mitul David
1e839f0ab1
test: Add test for frappe.db.get_single_value 2021-07-09 18:36:06 +05:30
barredterra
93e5398d5d Merge branch 'develop' into bench_version_branch_commit 2021-07-05 20:26:08 +02:00
barredterra
d7e0479ee7 test: add test for bench version 2021-07-05 19:53:02 +02:00
Suraj Shetty
fccd19a44c test: Add test to validate minified js load 2021-07-03 14:13:16 +05:30
Suraj Shetty
4363e51c6d test: Fix improper tests for website rendering 2021-07-01 22:10:02 +05:30