Commit graph

1489 commits

Author SHA1 Message Date
marination
d39216b273 fix: Select only last 3 args 2020-10-07 15:46:39 +05:30
mergify[bot]
30eb9f15b1
Merge pull request #11652 from adityahase/fix-pluck
fix(db_query): Allow plucking a field without having to add it to the fields list
2020-10-06 13:20:22 +00:00
Aditya Hase
e6c16f3184
fix(db_query): Allow plucking a field without having to add it to the fields list
e.g.

frappe.get_all("ToDo", pluck="owner")

Didn't work before, instead

frappe.get_all("ToDo", fields=["owner"], pluck="owner")

was needed
2020-10-06 18:32:43 +05:30
Deepesh Garg
7b404a835b fix: Ignore hash collosion count limit in tests 2020-10-06 12:55:09 +05:30
mergify[bot]
3275cc4c5a
Merge pull request #11500 from gavindsouza/mysql-syntax-error
fix(doctype): Allow MySQL keywords as Docfields
2020-09-24 08:45:34 +00:00
Faris Ansari
45e461a10a
Merge pull request #11527 from netchampfaris/override-doctype-class 2020-09-24 14:11:57 +05:30
Gavin D'souza
31bf172f73 fix: Check if as token in statement explicitly
tests failing due to this conditon becoming truthy for value: "assignment_rule"
2020-09-23 15:15:26 +05:30
Gavin D'souza
e6eee1ff83 Merge branch 'develop' of github.com:frappe/frappe into mysql-syntax-error 2020-09-23 15:00:39 +05:30
Faris Ansari
ed9abe0d7c fix: Pluck syntax for get_all and friends 2020-09-23 12:55:16 +05:30
Rushabh Mehta
282194ef13 fix(document_naming_rule): added priority and removed field based naming 2020-09-21 10:28:11 +05:30
Rushabh Mehta
cf1fd732c4 fix(naming): give first priority to rule, try and fix recorder test 2020-09-21 10:28:11 +05:30
Rushabh Mehta
542553b401 fix(naming): ignore table missing + linting 2020-09-21 10:28:11 +05:30
Rushabh Mehta
8696bc3cd1 fix(naming): ignore table missing + linting 2020-09-21 10:28:11 +05:30
Rushabh Mehta
21419645f8 feat(document naming): [wip] rule based naming of documents 2020-09-21 10:28:11 +05:30
Gavin D'souza
ef276257d4 fix: Handle mysql functions and "as" 2020-09-18 21:51:44 +05:30
Gavin D'souza
b6f6bbadb0 fix: Allow keywords as fieldnames 2020-09-18 12:58:28 +05:30
Faris Ansari
8461275f5a fix: Store classes in cache per site 2020-09-17 17:58:37 +05:30
Faris Ansari
78e1310471 feat: Ability to override doctype classes from hooks 2020-09-17 17:30:36 +05:30
mergify[bot]
cbf1077490
Merge pull request #11475 from prssanna/empty-tree-filter
fix: handle undefined tree filter value
2020-09-11 15:19:14 +00:00
prssanna
a429729e92 fix: handle undefined tree filter value 2020-09-10 12:57:34 +05:30
Suraj Shetty
9e43e88755 fix: Remove unnecessary whitelisting of rename_doc method 2020-09-08 10:38:26 +05:30
Aditya Hase
555c52fc70
fix(db_query): Reject user argument in whitelisted methods 2020-09-07 18:56:24 +05:30
Rushabh Mehta
426a946408
fix(minor): file name cannot contain separator (#11426) 2020-09-07 16:58:20 +05:30
Rushabh Mehta
1b73602a17 feat(system console): Added a System Console to help in debugging and Console Log 2020-08-31 11:29:18 +05:30
Rushabh Mehta
938b87ee46 fix(minor): rename field, ignore for single doctype 2020-08-25 15:44:08 +05:30
Rushabh Mehta
394088008a fix(minor): rename_field - show message before ignoring 2020-08-25 15:20:12 +05:30
Rushabh Mehta
58e9c074c9 fix(rename_field): skip if old fieldname does not exist 2020-08-25 14:43:50 +05:30
Rushabh Mehta
5d2a1ea47a fix(minor): handle importing of doctype when links are missing 2020-08-25 14:29:08 +05:30
Rushabh Mehta
ebc961cf84 fix(debug): print error before it breaks 2020-08-25 14:12:30 +05:30
Rushabh Mehta
b09beb9147 fix(tests): cleanup 2020-08-17 09:41:54 +05:30
Rushabh Mehta
b4b620e738 fix(refactor): event_update_log - move code from document.py and cleanup hooks 2020-08-17 09:41:54 +05:30
Rushabh Mehta
3d6b3870bd fix(minor): document.py:notify_consumers 2020-08-17 09:41:54 +05:30
Rushabh Mehta
aad2375cf3 fix(major): make document events more efficient, fix bug in cache_manager.get_doctype_map 2020-08-17 09:41:54 +05:30
Rushabh Mehta
73c98d7082 fix(minor): stop printing 2020-08-17 09:41:54 +05:30
Rushabh Mehta
fe9f1e803e fix(minor): allow for_update as a key in get_doc 2020-08-17 09:41:54 +05:30
Rushabh Mehta
fb7bc2659a fix(minor): allow for_update as a key in get_doc 2020-08-17 09:41:54 +05:30
Rushabh Mehta
b1971d1f65 fix(minor): add for_update parameter in get_doc 2020-08-17 09:41:54 +05:30
Rushabh Mehta
72e266f908 fix(tests): cleanup workflow test and commits 2020-08-17 09:41:54 +05:30
gavin
5d4feb5dbb
feat: Convenience APIs for tags (#11088)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:45:14 +05:30
Suraj Shetty
d3e4a97b6f
test: Make email account is email account test (#11139) 2020-07-29 17:17:53 +05:30
Sahil Khan
8ce340046e fix: do not sanitize code field
Co-authored-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-28 19:33:44 +05:30
prssanna
742d79cd5f style: fix indent 2020-07-18 14:16:32 +05:30
Chinmay D. Pai
3678435d4a
fix: remove redundant condition for field sanitization
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-07-17 18:38:57 +05:30
Rohit Waghchaure
79e3f88a65 fix: Edit in full page broken link 2020-07-16 15:34:59 +05:30
Gavin D'souza
90cab5a2aa fix: dont set '__unsaved' for single doctypes 2020-07-13 17:42:23 +05:30
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
marination
c2c6d9fa7f fix: Duplicate Name Error Message on saving document 2020-07-03 14:10:44 +05:30
Suraj Shetty
5712a22a0e
Merge branch 'develop' into notification_while_import 2020-06-29 17:23:49 +05:30
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
Deepesh Garg
4ce29c3120 fix: Notificaions on data import 2020-06-26 22:41:29 +05:30