Commit graph

539 commits

Author SHA1 Message Date
Chinmay Pai
e30161b222
fix: disallow global variable access through sql (#10875)
* fix: disallow global variable access through sql

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
Co-authored-by: Sahil Khan <sahilkhan28297@gmail.com>

* chore: add test for sql disallowed variable access

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>

Co-authored-by: Sahil Khan <sahilkhan28297@gmail.com>
2020-07-10 13:55:06 +00:00
Rushabh Mehta
62a8774bb1
feat(role permission): if desk access is removed from a role, attempt to remove it from users too (#10838)
* feat(minor): if desk access is removed from a role, attempt to remove it from users too

* fix(minor): exception for install;

* fix(minor): exception for install
2020-06-29 02:43:23 +00:00
Suraj Shetty
fac4dbdd23
Merge branch 'develop' into force_listview_columns 2020-05-20 21:01:00 +05:30
Suraj Shetty
3bd2eb15df
Merge branch 'develop' into force_listview_columns 2020-05-15 18:05:20 +05:30
Himanshu Warekar
b28cab3512 Merge branch 'develop' of https://github.com/frappe/frappe into multiple_assignments 2020-05-15 15:21:05 +05:30
Aditya Hase
aef567fdde fix(rate-limiter): Remove duplicate headers 2020-05-13 13:45:55 +05:30
Aditya Hase
c532a87370 tests(rate-limiter): Rate Limiter tests 2020-05-13 12:34:07 +05:30
Himanshu Warekar
7c54f60ec3 Merge branch 'develop' of https://github.com/frappe/frappe into force_listview_columns 2020-05-12 11:42:41 +05:30
Suraj Shetty
3ae2c1294d test: Remove unwanted test and fix permission test 2020-05-08 13:55:56 +05:30
Himanshu Warekar
04a59352f7 fix: test cases 2020-05-06 17:40:50 +05:30
Himanshu Warekar
016547378d Merge branch 'develop' of https://github.com/frappe/frappe into force_listview_columns 2020-05-05 10:32:40 +05:30
Suraj Shetty
981da526f9 fix: Contextual translation key generation 2020-05-04 22:27:06 +05:30
Suraj Shetty
ba162425ac test: Add translation extraction test 2020-05-03 18:41:19 +05:30
Shivam Mishra
dabdab5c9f fix: test_set_only_once_child_table_row_value test 2020-04-30 16:24:41 +05:30
Himanshu Warekar
9641dd6f66 Merge branch 'develop' of https://github.com/frappe/frappe into force_listview_columns 2020-04-16 20:21:03 +05:30
Suraj Shetty
41d80b4184
Merge pull request #9949 from scmmishra/customize-datafield-fix
fix: ignore fieldtype check validation if new field type has unspecified maxlength
2020-04-16 13:05:20 +05:30
Rushabh Mehta
7800fdbfee fix(tests): sitemap and condition field for Web View 2020-04-16 09:38:34 +05:30
Shivam Mishra
7696f11e3c feat: update test to check DATA to Text change 2020-04-15 13:24:01 +05:30
Himanshu Warekar
2e2493a18e Merge branch 'develop' of https://github.com/frappe/frappe into force_listview_columns 2020-04-14 11:42:31 +05:30
mergify[bot]
428cfa3b25
Merge pull request #9815 from frappe/dependabot/pip/bleach-3.1.4
chore(deps): bump bleach from 3.1.2 to 3.1.4
2020-04-10 07:58:55 +00:00
Gavin D'souza
2c1ffaae9c fix(test): update test for updated bleach behaviour
bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1623633
2020-04-10 12:13:48 +05:30
Himanshu Warekar
3f824d2686 Merge branch 'develop' of https://github.com/frappe/frappe into force_listview_columns 2020-04-09 10:23:54 +05:30
Chinmay D. Pai
5a4251bce8
chore: add test to check null result
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-03 09:54:34 +05:30
Chinmay D. Pai
5cd5d03038
chore: fix errors in global_search test
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-30 11:11:20 +05:30
Chinmay D. Pai
39df9fc8c0
chore: add test assertion for global_search
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-30 10:49:20 +05:30
Chinmay D. Pai
10e939d012
chore: update global_search and add test
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-03-30 10:46:00 +05:30
Suraj Shetty
5194bcd5a4
Merge branch 'develop' into fix-customized-form 2020-03-25 12:57:39 +05:30
Suraj Shetty
699e6f8d4c test: Delete contact phone and and contact email while deleting contact 2020-03-23 13:33:21 +05:30
Suraj Shetty
bf69b98cba test: Set docstatus type as Check 2020-03-21 18:24:15 +05:30
Suraj Shetty
641580a300 test: Add a fallback default 2020-03-21 18:11:42 +05:30
Suraj Shetty
8f8e361766 style: Fix formatting issues 2020-03-21 17:45:39 +05:30
Suraj Shetty
739f061871 test: Add test for frappe.db.updatedb 2020-03-21 12:30:54 +05:30
Aditya Hase
542a3ce222 fix: Remove flaky assertions 2020-03-05 17:20:59 +05:30
Aditya Hase
4e69326fac style: Remove unused imports 2020-03-05 16:27:22 +05:30
Aditya Hase
4740e4f7e6 refactor: Monitor
Do not collect request headers
Collect job wait time and whether it was scheduled
2020-03-05 15:06:15 +05:30
Aditya Hase
af3c4feb64 feat: Monitor
Collect HTTP Request and Background Job logs
2020-03-05 15:06:15 +05:30
prssanna
59a85b4b20 test: add test to check child table field permlevel 2020-03-02 16:40:19 +05:30
Rohan Bansal
90cf15cfc0 test: remove explicit commit 2020-01-22 17:56:55 +05:30
Rohan Bansal
c51a3a8f44 test: add tests for child document updates 2020-01-22 17:56:51 +05:30
Suraj Shetty
5eaaaf03db test: Fix user permission test 2020-01-22 12:51:47 +05:30
Suraj Shetty
02453fa7e0 style: Fix codacy 2020-01-22 12:51:47 +05:30
Suraj Shetty
5cbe2170e8 test: Reset Blog Post doc perms 2020-01-22 12:51:47 +05:30
Suraj Shetty
c9adf965eb test: Fix fieldlevel permission test 2020-01-22 12:51:47 +05:30
Himanshu Warekar
b779767d2d Merge branch 'develop' of https://github.com/frappe/frappe into force_listview_columns 2020-01-14 10:29:07 +05:30
Gavin D'souza
aa07305b90 Merge branch 'develop' of github.com:frappe/frappe into rename-doc-fix 2020-01-08 23:15:45 +05:30
Himanshu Warekar
729cada2fd Merge branch 'develop' of https://github.com/frappe/frappe into force_listview_columns 2020-01-04 10:55:36 +05:30
Prssanna Desai
85628e687f
fix: whitelist function
Co-Authored-By: Shivam Mishra <scmmishra@users.noreply.github.com>
2019-12-26 17:56:19 +05:30
deepeshgarg007
7c69ff4646 Merge branch 'develop' of https://github.com/frappe/frappe into mandatory-depends-on 2019-12-26 13:23:11 +05:30
Andrew McLeod
07cedc581d feat: Optionally remove seconds from datetime (#8531)
* fix: Add updated datepicker; fixed seconds formatting bug.
Seconds between 0 and 9 were not zero-padded.

* feat: Add framework for time format

* feat: datetime server-side formatters.

* tests: Added server-side datetime formatter tests

* feat: Update client-side datetime formatters

* tests: Add Cypress client-side formatting tests.

* fix: JSON errors

* fix: Update to not hard-code admin password

* fix: Change to using bulk_update rather than the REST API

* tests: Use Custom doctype for testing, not Standard

* fix: Codacy style fixes

* fix: Commonify update_datetime_picker in date.js, datetime.js, time.js
Fix order of time_format in System Settings
Restore get_user_fmt in utils/datetime.js

* feat: Drastically reduce scale of Cypress testing (to make tests faster)
Full testing is possible by setting 'fast_mode' to false in the spec file.

* fix: Fix issues with datepicker/timepicker expansion

* fix: typo

* style: Various style fixes as requested by DeppSource: Python

* fix: Timepicker not hiding on 'now' button. Force hiding on click.

* style: Codacy style fixes.

* fix: Use datepicker from node_modules

* test: Refactor Datetime UI tests

- cy.get_field
- cy.set_value
- cy.insert_doc with ignore_duplicate
- Nominal datetime tests to cover most formats
- Formatting with prettier

* test: Datetime UI tests; wait for cur_frm.doc.datetime to update

* tests: Add whitespace to typed input

- Clear input only for Time field

* test: Wait timeout 200

* test: Fix form test

Co-authored-by: Faris Ansari <netchampfaris@users.noreply.github.com>
2019-12-25 14:54:28 +05:30
Suraj Shetty
480a192324
Merge branch 'develop' into mandatory-depends-on 2019-12-23 13:03:49 +05:30