Commit graph

1503 commits

Author SHA1 Message Date
Rushabh Mehta
75fe8a615a feat(app): move /desk to /app 2020-11-11 16:31:47 +05:30
Deepesh Garg
3d9e4bbd8e Merge branch 'develop' of https://github.com/frappe/frappe into non_negative 2020-10-29 16:53:36 +05:30
Deepesh Garg
dbd8f52e54 feat: Non negative check for Int, Float and Currency fields 2020-10-29 16:40:38 +05:30
Rushabh Mehta
97191f90af fix(minor): dont run a query when table is missing 2020-10-27 23:02:11 +05:30
Rushabh Mehta
69d2c10736 fix(minor): db_query (ignore_ddl) 2020-10-26 10:02:04 +05:30
Rushabh Mehta
742605542c fix(minor): added ignore_ddl in frappe.db.get_all to ignore missing tables, columns 2020-10-26 10:02:04 +05:30
Rushabh Mehta
8707ed1f27 fix(minor): remove "Custom Link" and add patch 2020-10-26 10:02:04 +05:30
Rushabh Mehta
92c30ae212 fix(minor): linting 2020-10-26 10:02:04 +05:30
Rushabh Mehta
a0a3606a7f fix(tests): add test cases for custom_link and custom_action 2020-10-26 10:02:04 +05:30
Rushabh Mehta
8a198f363b fix(default): cast as string as required 2020-10-26 10:02:04 +05:30
Rushabh Mehta
b5cb39bdb1 fix(minor): fix fieldame in apply_property_setters in model/meta.py 2020-10-26 10:02:04 +05:30
Rushabh Mehta
1e48ced097 feat(customize form): add links and actions to customize form and cleanup code 2020-10-26 10:02:04 +05:30
Gavin D'souza
cf1b01fb5e fix: Remove partial support for distinct keyword
* Added supporting sql functions and distinct kw in TODO
2020-10-12 15:34:48 +05:30
Gavin D'souza
b00a389cfd fix: Add provision for quotes in DatabaseQuery.prepare_args 2020-10-09 19:40:45 +05:30
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