Commit graph

78 commits

Author SHA1 Message Date
phot0n
b31f3c24f6 refactor: remove parent, parenttype, parentfield, idx columns from non-child table doctypes
* feat: add parent, parenttype, idx, parentfield columns to doctypes when transitioning from normal -> child table

* fix: remove parent, parenttype, parentfield, idx from DocType DocType
2022-02-07 15:12:37 +05:30
Rucha Mahabal
3bdca71924 fix: delete Event Producer Last Update on trash event of Event Producer 2021-12-03 10:37:30 +05:30
Mai Ismail
1534e5398a
fix(Event Streaming): Doctype dependencies sync (#14299)
File "/home/mai/Workspace/V13/v13_online/apps/frappe/frappe/event_streaming/doctype/event_producer/event_producer.py", line 414, in sync_child_table_dependencies
    child_doc = frappe._dict(child_doc)
TypeError: 'NoneType' object is not iterable
2021-09-28 11:30:09 +05:30
Gavin D'souza
3446026555 chore: Update header: license.txt => LICENSE
The license.txt file has been replaced with LICENSE for quite a while
now. INAL but it didn't seem accurate to say "hey, checkout license.txt
although there's no such file". Apart from this, there were
inconsistencies in the headers altogether...this change brings
consistency.
2021-09-03 12:02:59 +05:30
Gavin D'souza
e407b78506 chore: Drop dead and deprecated code
* Remove six for PY2 compatability since our dependencies are not, PY2
  is legacy.
* Removed usages of utils from future/past libraries since they are
  deprecated. This includes 'from __future__ ...' and 'from past...'
  statements.
* Removed compatibility imports for PY2, switched from six imports to
  standard library imports.
* Removed utils code blocks that handle operations depending on PY2/3
  versions.
* Removed 'from __future__ ...' lines from templates/code generators
* Used PY3 syntaxes in place of PY2 compatible blocks. eg: metaclass
2021-05-26 15:31:29 +05:30
Abhishek Balam
f4e4fc98f9 fix: remove unnecessary schemes and minor changes 2021-05-02 00:32:01 +05:30
Hussain Nagaria
024e759a70 refactor: Add optional URL scheme validation 2021-05-01 00:34:19 +05:30
Hussain Nagaria
9d4ee238d7 fix: Remove duplicate validation function 2021-04-30 14:52:16 +05:30
Rohan Bansal
dade7ed216 refactor: fix py3 datatypes and remove references to six in oauth 2021-04-28 14:02:23 +05:30
Revant Nandgaonkar
96d6971ee4 refactor: improve oauthlib implementation
implement openid provider
implement PKCE
improve errors
2021-04-26 22:56:14 +05:30
Rucha Mahabal
bf97382002 fix: row removed in child table not syncing when it has a dependency field 2020-12-23 13:09:53 +05:30
Fahim Ali Zain TP
0cb29a81ae
feat(Event Streaming): Conditional Events (#10868) 2020-11-13 15:15:29 +05:30
Rushabh Mehta
8bd98e6272 fix(minor): set name for Event Producer Last Update 2020-10-26 13:22:38 +05:30
Rushabh Mehta
625ab74883 fix(tests): added a new table to avoid conflicts 2020-10-26 13:01:46 +05:30
Rucha Mahabal
f24d87726a fix: added patch for deleting old keys 2020-09-09 11:10:47 +05:30
Aditya Hase
386b4847b4
chore: Attempt at fixing event-streaming tests 2020-09-09 09:38:20 +05:30
Rucha Mahabal
8cffea5c8e fix: test 2020-09-09 01:13:06 +05:30
Rucha Mahabal
efdeab6dad fix: test 2020-09-09 00:43:50 +05:30
Rucha Mahabal
21a299752b fix: test 2020-09-09 00:02:25 +05:30
Rucha Mahabal
220c4b734e fix: event subscriber validation 2020-09-08 22:56:18 +05:30
Rucha Mahabal
3b5c404378 fix: tests 2020-09-08 20:55:53 +05:30
Rucha Mahabal
ed5f332bb9 fix: sider issue 2020-09-08 19:29:46 +05:30
Rucha Mahabal
d7ea913605 fix: event streaming fixes 2020-09-08 19:01:08 +05:30
Rucha Mahabal
e48ed816c3 fix(Event Streaming): remove in_test flag from Event Consumer 2020-09-06 16:35:28 +05:30
Rushabh Mehta
8c8f7313f4
fix(minor): make utils explicit in safe_globals (#11408)
* fix(minor): make utils explicit in safe_globals

* fix(minor): import subprocess

* fix(minor): fix globals in safe_eval;

* fix(minor): import subprocess

* fix(minor): add test

* fix(minor): webhook.py

* fix(minor): document_type_mapping.py
2020-09-03 14:26:01 +05:30
Rucha Mahabal
bb0e8af0fb fix(test): unsubscribe doctypes in tearDown 2020-08-17 09:41:54 +05:30
Rucha Mahabal
8d09b37308 feat(Event Streaming): allow consumers to unsubscribe 2020-08-17 09:41:54 +05:30
Rushabh Mehta
6336756c8a fix(tests): test_event_producer 2020-08-17 09:41:54 +05:30
Rushabh Mehta
dad59ce8cf fix(tests): select for update in reset_event_producer 2020-08-17 09:41:54 +05:30
Rushabh Mehta
df8075bd1d debug(minor): print trace for failed events in tests 2020-08-17 09:41:54 +05:30
Rushabh Mehta
81a02794b8 fix(event_consumer): choose the right doctype 2020-08-17 09:41:54 +05:30
Rushabh Mehta
b92b97fd9a fix(minor): clear cache for maps 2020-08-17 09:41:54 +05:30
Rushabh Mehta
5ead49c212 fix(tests): fix caching for event_consumer.py 2020-08-17 09:41:54 +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
26a9230fdd fix(tests): more debugging 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
b1971d1f65 fix(minor): add for_update parameter in get_doc 2020-08-17 09:41:54 +05:30
Rushabh Mehta
e421bc19f6 fix(major): frappe.db.set_value will lock the row 2020-08-17 09:41:54 +05:30
Rushabh Mehta
4d97635ab4 fix(major): frappe.db.set_value will lock the row 2020-08-17 09:41:54 +05:30
Rushabh Mehta
22c6e08b1b fix(test): try with print_sql 2020-08-17 09:41:54 +05:30
Rushabh Mehta
14d9c28eb7 fix(test): try with print_sql 2020-08-17 09:41:54 +05:30
Rushabh Mehta
77cc95a673 fix(test): retry test_event_producer 2020-08-17 09:41:54 +05:30
Rushabh Mehta
bb074aa90d fix(test): retry test_event_producer 2020-08-17 09:41:54 +05:30
Rucha Mahabal
4135791e51 fix: reload doc after incoming change from consumer 2020-06-11 15:30:00 +05:30
Rucha Mahabal
5c7a9d28b8 fix: set send_welcome_email as 0 for user creation 2020-06-11 15:29:23 +05:30
Rucha Mahabal
60dbf657f7 test: producer url 2020-06-11 14:11:03 +05:30
Rucha Mahabal
34704a2362 fix: reset configurations in Event Producer tests 2020-06-11 14:07:29 +05:30
Faris Ansari
3c8ba15bf6 test: Simplify Event Producer test 2020-06-10 21:23:55 +05:30
Rucha Mahabal
372bc53f5a fix: failing test 2020-04-30 18:36:07 +05:30