Commit graph

1086 commits

Author SHA1 Message Date
Frappe Bot
94ea028db3 Merge branch 'master' into develop 2019-03-08 09:38:18 +00:00
Anurag Mishra
cd191439fd feat: Document subscription (#6745) 2019-03-07 14:06:22 +05:30
Rushabh Mehta
43fe6bd152 fix(db_query): handle null in fields list 2019-03-05 10:26:26 +05:30
Suraj Shetty
d04188283c
Merge pull request #6991 from sagarvora/fetch_only_once
feat(core): New DocField "Fetch If Empty"
2019-03-04 12:31:18 +05:30
FinByz Tech Pvt. Ltd
bfa4a2c82c fix: Removed unexpected keword argument 'indicator' (#7010)
Removed unexpected keyword argument 'indicator' from frappe.throw function.
2019-03-02 19:37:28 +05:30
Rushabh Mehta
c0631e4e98
Merge pull request #6924 from ElasticRun/db_query_bug_fix
[bug fix]: prepare filter condition function
2019-02-28 13:02:15 +05:30
Sagar Vora
0483877c9d feat: New DocField "Fetch If Empty" 2019-02-26 21:46:15 +05:30
Faris Ansari
0a30746007
fix: Check if value is string 2019-02-26 16:16:38 +05:30
Suraj Shetty
0035c90fa5
Merge pull request #6926 from netchampfaris/fix-frappe-call-to-api-method
fix: Make requests with cmd on /api/method/path
2019-02-20 08:58:36 +05:30
Rushabh Mehta
fcaadf78ad
Merge pull request #6891 from rmehta/refactor-comments
BREAKING CHANGE: Comments are now handled separately from Communication and Version
2019-02-16 16:54:16 +05:30
Rushabh Mehta
f00394ba13 fix: linting (nosec) 2019-02-13 18:49:22 +05:30
Rushabh Mehta
d610ce9522 fix(tests): tests and linting 2019-02-13 16:50:34 +05:30
Faris Ansari
0dbafb9c6b fix: Make requests with cmd on /api/method/path
- Will help in better debugging and Cypress testing
2019-02-13 16:04:06 +05:30
sivankar
40dc733701 added map 2019-02-12 21:08:49 +05:30
Sagar Vora
17b20b22a3 Merge branch 'master' into develop 2019-02-12 16:31:54 +05:30
Suraj Shetty
73c9cbec60
fix(typo): vale -> value 2019-02-12 10:54:19 +05:30
Rushabh Mehta
e337ce9edf fix: patch 2019-02-07 16:35:50 +05:30
Rushabh Mehta
41d90fa6d1 BREAKING CHANGE: Comments are now handled separately from Communication and Version 2019-02-07 16:35:50 +05:30
Suraj Shetty
9b92a21a3b
Merge branch 'hotfix' into default-perm 2019-02-06 16:26:25 +05:30
Rushabh Mehta
84f7ea1cec fix: max value for int types 2019-02-06 16:09:16 +05:30
Nabin Hait
a7a4679a09 fix: tests for user permissions 2019-02-05 18:41:19 +05:30
Sagar Vora
89efa968d8 Merge branch 'master' into develop 2019-02-05 18:39:43 +05:30
Nabin Hait
ff1d430af6 fix: Set field default based on user permissions 2019-02-04 13:51:38 +05:30
Suraj Shetty
a67cecf981 fix(test): Use single quotes for empty string (constant) (#6871)
* Use single quotes for empty string
since value inside double quotes is considered as Identifier in postgres

* Do not show change log modal when in test

* Revert "Do not show change log modal when in test"

This reverts commit 6c2c3fd80cad3ff491b7d3b60a2b756ba6823bf8.

* Do not show change log modal when in test

- To check it is test environment we are checking if Cypress is
loaded on window object
2019-02-01 17:34:12 +05:30
Faris Ansari
88364f764f fix: Validate length for int and bigint column types (#6804)
* fix: Validate length for int and bigint column types

* fix: skip standard fields

* fix: Skip Check fields as well

Value of Check fields can be True or False, which are casted to 0 or 1 explicitly
2019-01-31 14:01:08 +05:30
Saurabh
76bd4e4f19 Merge branch 'master' into develop 2019-01-30 12:36:43 +05:30
Suraj Shetty
f5ded9fd56 Fix "object has no attribute 'parent_doc'" error while saving doc (#6855) 2019-01-30 11:49:42 +05:30
Sagar Vora
ef82f39f99 Merge branch 'staging' into develop 2019-01-29 18:24:11 +05:30
Sagar Vora
fe3fe0a4b8 Merge branch 'master' into staging-fixes 2019-01-29 17:08:58 +05:30
Suraj Shetty
5af8d4d1bb
Merge pull request #6824 from netchampfaris/feat-is-set-is-not-set
feat: New filter type "Is Set", "Is Not Set"
2019-01-29 07:27:57 +05:30
Aditya Hase
837bfc0995 fix(unicode): Import unicode_literals in every file (#6805)
* fix(unicode): Import unicode_literals in every file

* fix(unicode): Test if safe_json_loads return unicode instead of bytes
2019-01-25 11:56:27 +05:30
Zarrar
94d0489674 fix: Customize Form and Custom DocType related fixes (#6645)
* display Customize option in menu bar only for standard DocType

* disallow opening of custom doctype in Customize Form

* make fields dependent on is_submittable property visible for child table

* throw message that custom fields can only be added to standard doctype

* set query similar to the one in Customize Form for DocType selection

* only hide customize option [fix]

* add core doctypes list in model and use it from there

* avoid editing of core doctype from Customize Form or Custom Field

* test case updated and additional test for core doctypes added

* codacy fix
2019-01-25 11:21:10 +05:30
sahil28297
60d0c390f0 fix: datetime handling in relative filters (#6823) 2019-01-24 14:53:54 +05:30
Faris Ansari
5ffdeb19fc feat: New filter type "Is Set", "Is Not Set" 2019-01-24 14:26:27 +05:30
Aditya Hase
6b72faf44f style: Linting fixes (#6809)
* style: Remove unused imports

* style: Remove unused local variables
2019-01-23 16:39:55 +05:30
Sagar Vora
47c0d10631 Merge branch 'staging' into develop 2019-01-22 15:43:40 +05:30
Suraj Shetty
132a92e6cc fix: "list object has no get attribute" error while saving new doc (#6799)
* Fix .get() function not found error while saving new doc

* Remove print statement
2019-01-22 11:26:10 +05:30
sahil28297
3644f5f4cd feat: relative timeframe filters (#6792)
* feat: relative timeframe filters

* fix: resolve syntax errors

* fix: Translated options
2019-01-21 16:02:40 +05:30
Faris Ansari
b7c4593200 Merge branch 'develop' of https://github.com/frappe/frappe into cast-numeric-values 2019-01-08 12:21:25 +05:30
Frappe Bot
1197271700 Fixed merge conflict 2019-01-05 09:06:05 +00:00
Sagar Vora
53b11e3d0d fix(core): rename "View log" to "View Log" and patch (#6708) 2019-01-03 16:34:08 +05:30
Faris Ansari
c687d7e8b7 fix: Cast numeric values to int 2019-01-01 18:27:56 +05:30
Saurabh
d5fdc670f7 Merge branch 'staging' into develop 2019-01-01 14:26:16 +05:30
Suraj Shetty
eacaea6a0d Add accidently removed match filters (#6701)
- Fixes "No user permission applied for Reports" issue
2018-12-31 20:07:13 +05:30
Zarrar
ffa0a1821c fix: Delete View Logs when deleting a document (#6695) 2018-12-31 11:34:48 +05:30
Faris Ansari
3b86f16b73 New Control: Table MultiSelect (#6675)
* feat(control): Add Table MultiSelect control

* fix: Use btn-group instead of span

* fix: Remove functionality

* fix: Add 'Table MultiSelect' to Field doctypes

* fix: Replace usage of string 'Table' with array `table_fields`

* fix: Use internal array to store values instead of building from HTML elements

* fix(style): Add semicolon

* fix: Read only mode and click to navigate to form

* style: indent

* fix: fallback to empty array

* fix: Add formatters in js and py

* style: missing semicolon

* fix: Add docfield validation
2018-12-28 15:36:59 +05:30
Frappe Bot
a7754527df Merge branch 'staging' into develop 2018-12-26 14:31:02 +00:00
Suraj Shetty
8b201911b4
fix(permission): Update db_query.py (#6683) 2018-12-26 19:57:18 +05:30
Suraj Shetty
fe49117c92
fix: issue related to quotes (#6682) 2018-12-26 19:36:13 +05:30
Frappe Bot
0499b4a845 Merge branch 'staging' into develop 2018-12-26 12:03:03 +00:00