Commit graph

312 commits

Author SHA1 Message Date
Suraj Shetty
d53b88a72f
perf: Make tests faster (#10307)
* feat: Ignore versions for test

* test: Do not ignore version where needed

* perf: Use frappe.db.get_single_value to leverage caching

- frappe.get_cached_value does not support single value caching

* style: Fix sider issue
2020-05-12 22:34:10 +05:30
Suraj Shetty
9274c6c7eb
Merge branch 'develop' into event_streaming_mapping_fix 2020-04-30 17:20:49 +05:30
Suraj Shetty
1c3077b259
fix: Clear __unsaved flag in insert method (#10094) 2020-04-25 11:56:55 +05:30
rohitwaghchaure
9c78c5b564
fix: don't reset the child doc fields value for new record (#10090) 2020-04-25 10:47:13 +05:30
Suraj Shetty
d678fc62ab
fix: Clear __unsaved flag after document save (#10082) 2020-04-24 11:25:36 +05:30
Rucha Mahabal
c28ad1eed5 fix: conflicts 2020-04-21 00:06:11 +05:30
Rucha Mahabal
11015a8dd9
Merge branch 'develop' into event_streaming_mapping_fix 2020-04-20 23:59:59 +05:30
Aditya Hase
6f1caf101f fix: Check if Event Consumer exists before checking for consumers
the logic for event streaming has been hardcoded into `document.py`

Scenario:
a site (say, v12) backup needs to be restored on a v13 bench and then updated

Solution:
use `bench migrate`; works flawlessly.

However, if this site has an app installed that isn't available on the v13 bench,
then bench migrate fails.

Also, `bench remove-from-installed-apps` fails,
because of the absence of "Event Consumer"
2020-04-20 12:54:30 +05:30
Suraj Shetty
3e43886e1d
Merge branch 'develop' into event_streaming_mapping_fix 2020-04-17 12:10:32 +05:30
Suraj Shetty
c46e573b4a
Merge branch 'develop' into event_streaming_mapping_fix 2020-03-31 10:08:59 +05:30
Suraj Shetty
0a65266c1e
Merge branch 'develop' into data-options 2020-03-30 10:44:25 +05:30
Gavin D'souza
d199d8027a feat: added server validations for phone and email
for fieldtype "Data" and options set to "Email" or "Phone", updating
    documents will trigger data validations for email and phone numbers will be made
2020-03-25 15:29:24 +05:30
Himanshu Warekar
49532508c6 fix: use set_value instead of db_set 2020-03-23 23:16:36 +05:30
Rucha Mahabal
ed397017ee test: inner mapping 2020-03-19 16:56:29 +05:30
Suraj Shetty
b9bb6e6513 fix: Updated value of _seen in db while resetting _seen 2020-03-18 16:30:53 +05:30
Suraj Shetty
b587031d60
Merge branch 'develop' into fix-trigger-doc-events 2020-03-18 15:18:56 +05:30
Suraj Shetty
3f26969969
Merge branch 'develop' into fix-trigger-doc-events 2020-03-13 22:51:37 +05:30
Suraj Shetty
0088f27f71
Merge branch 'develop' into setup-wizard-dev 2020-03-12 18:29:31 +05:30
prssanna
7a36e64b9c fix: permission validation for child table fields 2020-03-02 13:23:46 +05:30
Suraj Shetty
6de17d74a0 Merge branch 'develop' of https://github.com/frappe/frappe into fix-trigger-doc-events 2020-02-24 09:02:35 +05:30
Shivam Mishra
8627cce88e feat: added in_setup_wizard flag 2020-02-19 12:45:04 +05:30
Suraj Shetty
df669a88cb fix: Trigger notification save after doc update 2020-02-07 13:28:18 +05:30
mergify[bot]
62ea837d07
Merge pull request #9363 from prssanna/workflow-fix
fix(Workflow): Set workflow state when some action is performed on a …
2020-02-05 10:04:49 +00:00
Suraj Shetty
dee4a7336c fix(translations): Incorrect syntax 2020-01-29 15:22:35 +05:30
Rucha Mahabal
8147fa45dd fix: anti-pattern code 2020-01-27 14:07:13 +05:30
Rucha Mahabal
c0b22871fb fix: set parent in child table row dependency 2020-01-27 13:38:50 +05:30
Rucha Mahabal
19c69e5316 fix: anti-pattern code 2020-01-27 12:26:12 +05:30
prssanna
9202997cb8 fix(Workflow): Set workflow state when some action is performed on a document from the backend if workflow exists 2020-01-27 12:09:07 +05:30
Suraj Shetty
a25f5d207a
Merge branch 'develop' into offline-erpnext 2020-01-24 09:23:15 +05:30
Saif Ur Rehman
dd72d5e022 chore: No need for frappe._dict() 2020-01-22 12:51:47 +05:30
Saif Ur Rehman
69d7649969 fix(get_permlevel_access): Lazy load handle different permission types 2020-01-22 12:51:47 +05:30
Rucha Mahabal
9dbc0e2793 fix: docstatus not syncing 2020-01-13 23:50:38 +05:30
Rucha Mahabal
589772f7bd fix: rename Events Streaming to Event Streaming 2019-12-26 14:29:08 +05:30
Rucha Mahabal
cfe2631864 fix: rename Producer and Consumer child doctypes 2019-12-26 13:50:33 +05:30
Rucha Mahabal
f99cbf9690 fix: rename Update Log to Event Update Log for consistency 2019-12-26 12:53:58 +05:30
Rucha Mahabal
199291e9c5 fix: conflicts 2019-12-09 17:16:18 +05:30
Rucha Mahabal
b338e3dc48 fix: codacy 2019-11-14 17:51:33 +05:30
Rucha Mahabal
fa6a29ff37 fix: conflicts 2019-11-13 11:23:30 +05:30
Rucha Mahabal
7e3a3c3bd8 fix: child table not getting updated 2019-11-11 16:55:52 +05:30
Rushabh Mehta
7cd329fac9 reactor(scheduler): created "Scheduler Job Type" and cleaned up scheduler 2019-11-07 12:14:09 +05:30
Rucha Mahabal
f2eb8bb71c fix: update docs by diff instead of entire json 2019-11-01 13:38:57 +05:30
Rucha Mahabal
a93fd11119 fix: maintain update log and consume only approved events 2019-10-31 12:20:05 +05:30
Rushabh Mehta
6d6f575904 feat(server scripts): add server scripts! 2019-10-11 14:16:49 +05:30
Rucha Mahabal
dff86d5c23 fix: create consumer if its not present on remote site 2019-10-11 02:16:31 +05:30
Rucha Mahabal
870bf66807 fix: replaced Node Configuration with Event Producer and Consumer, removed Node related doctypes 2019-10-11 02:16:31 +05:30
Rucha Mahabal
7c5ea346eb fix: changed module name from offline to events_streaming 2019-10-11 02:16:31 +05:30
Rucha Mahabal
dea976f48f feat: set document name in document.py 2019-10-11 02:16:31 +05:30
Rucha Mahabal
68a3bd0a36 feat: master-follower one way sync 2019-10-11 02:16:30 +05:30
Suraj Shetty
29bcdf1fa3 style: Fix indentation 2019-09-24 09:46:20 +05:30
Suraj Shetty
ac1c242a14 feat: Energy Points for assigned users on a document 2019-09-19 17:55:34 +05:30