Commit graph

80 commits

Author SHA1 Message Date
Saurabh
cd8da87907 Merge branch 'master' into develop 2017-11-30 16:40:45 +05:30
Faris Ansari
74883d4f36 Set owner in Deleted Document (#4556) 2017-11-30 14:28:12 +05:30
Saurabh
20fff6e874 Merge branch 'master' into develop 2017-11-22 18:02:53 +05:30
Saurabh
2045e4f1f9 [fix] while deleting a record also check links in single (#4447)
* [fix] while deleting a record also check links in single

* [fix] no HTML in translatable text

* [fix] commonified message for link validation on document delelte
2017-11-21 15:47:30 +05:30
Shreya Shah
acdbb97ba5 Moved feed from Communication to Activity Log (#4435)
* Removed comment_type 'updated'

* New doctype activity log

* Moved feed.py to activity_log

* Updated feed gets stored in activity_log

* Activity page fetches feed from activity_log

* feed match condition change

* modified

* modified hooks.py

* modified sessions.py

* patch added

* naming in patch

* moved login, logout feed to activity_log

* changes in auth.py, hooks.py

* deleted doctype authentication_log and added test cases

* added utils.py in core

* moved some methods from communication.py to utils.py
2017-11-21 15:46:51 +05:30
Nabin Hait
e9eb5c4021 Changed order to avoid deadlock 2017-09-11 19:22:58 +05:30
Makarand Bauskar
6fa9967a04 [hotfix] throw DoesNotExistError if doctype is not available on Delete api (#4013)
* [hotfix] throw DoesNotExistError if doctype is not available on Delete api

* [fixes] aded tests cases and codecy, travis fixes
2017-09-01 09:16:32 +05:30
mbauskar
bc603de8be resolved conflicts 2017-08-16 18:24:21 +05:30
Robert Kirschner
67668684ab [minor] fix of translatable terms 2017-08-14 13:12:30 +02:00
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
rohitwaghchaure
8e362dfe56 [Fix] User not able to delete if it's linked with the communication (#3884) 2017-08-09 15:33:15 +05:30
Rushabh Mehta
f609a478ae [refactor] user permissions (#3713)
* [refactor] user permissions

* [fix] tests

* [ux] user-permissions

* [minor] cleanup system settings

* [minor] end progress
2017-07-28 14:33:31 +05:30
Nabin Hait
8f3eb00541 Delete custom docperm while deleting doctypes (#3654)
* Delete custom docperm while deleting doctypes

* Update delete_custom_docperm_if_doctype_not_exists.py
2017-07-11 10:32:40 +05:30
mbauskar
e5f296b78d [minor] delete feedback and open feedback request if document is deleted 2017-02-22 15:41:33 +05:30
Rushabh Mehta
86ceb21005 [feature] Global Search (again) (#2710)
* [start] global search frappe/erpnext#6674

* [fix] setup before running test

* [start] global search frappe/erpnext#6674

* Display result as rudimentary list, rebuild old doctypes

* Media view, child tables, delete document updates, searchable fields

* More results UI

* Code clean up

* remove msgprint from document.py to resolve merge conflict

* Modularization stage 1, get show more to work with it

* Dedicated modal Search bar works, some clean up needed

* Can't data-dismiss on links, Bootstrap issue, use hashchange

* Accomodate missing field content syndrome

* Search in boolean mode, make GS default in awesome bar, fix double modal bug and cleanup

* Add in Meta

* Add in customize form

* Modularise Global Search

* Search object

* Commonify Search UI: Stage I

* II: save list state, UI, default condensed view, refactor

* Fix SQL bug, Refactor awesome bar, Fix unicode bug, add nav results

* Refactor using separate search objects, some async issues

* Fix async flow

* Fix preceding more list bug

* UI additions

* another async fix, back link

* Help: Stage I

* Help: Stage II

* Background jobs, fix route options bug

* Fix GS syncing on install

* Add GS options in awesome bar: test

* Input now remembers search type state

* More UI updates

* Add description for GS results in awesome bar

* Fix help modal bug

* Fix: not commit during install

* Test cases, some fixes

* Update in_test flag in enqueue

* Disable GS sync when not install_db

* Add flag check

* Disable field in child tables

* Cleanups

* Create table fix

* Fix redis exception, remove commit enqueue, add gs in migrate

* Fix tests

* Single enqueue

* cleanups

* Fix tests

* Fix event test

* Fix duplication, search as first option

* Add show name in global search

* fix event tests and desk.less

* Fix communication.json

* [fixes] wip

* [fix] tests

* [minor] for tests

* [minor] for tests

* [minor] for tests

* [minor] for tests
2017-02-13 14:50:54 +05:30
Rushabh Mehta
fed52016c9 [minor] dont add to deleted if for reload 2016-12-31 11:27:12 +05:30
Rushabh Mehta
d989a95472 [feature] document versioning #2469 (#2523)
* [feature] document versioning #2469

* [minor] remove on_update from WebsiteGenerator

* [fix] delete shares when deleting user

* [test] don't run delete in background if test

* [fix] test_db

* [added] Deleted Document

* [fix] added track_changes in all documents

* [fix] add to deleted only if exists

* [fix] in_install flag in deleted documents

* [minor] name will always be reset
2016-12-29 18:01:42 +05:30
Rushabh Mehta
05268603cf [fix] delete attachments last, fixes #978 2016-12-27 15:34:42 +05:30
robert schouten
9c8edaed04 improved error messages for canceled links 2016-12-01 11:26:57 +08:00
Saurabh
d40d08fb66 [fix] check against all linked documents while canceling or deleting (#2360) 2016-11-22 22:18:38 +05:30
Rushabh Mehta
7ef8f5f7a2 [minor] fixes to patches, ignore validate if in patch, move some events to hourly 2016-08-16 10:24:09 +05:30
Nabin Hait
8d915701ad Allow non-admin users to delete custom doctypes 2016-07-11 15:02:22 +05:30
Anand Doshi
526e9ea2d7 [security] encrypt passwords that need to be retrievable, except User password which should be hashed 2016-06-13 17:18:59 +05:30
Rushabh Mehta
a4e43631f6 [test] [fix] delete_doc 2016-04-28 15:20:41 +05:30
Rushabh Mehta
9d141e11e4 [fix] [performance] add communication in _comments in doc for listviews 2016-04-28 14:50:23 +05:30
Nabin Hait
9273935979 Merge branch 'master' into develop 2016-04-14 18:10:03 +05:30
Rushabh Mehta
79203f3ab6 [api] added on_change event in document.py that will be called after any update event, including on_trash 2016-04-11 11:34:26 +05:30
Nabin Hait
f9fd3945ae [fix] Ignore current document while checking linked docs on deletion 2016-04-11 11:05:43 +05:30
Anand Doshi
b6d525270e [fix] ignore permissions when removing user share 2016-04-04 16:53:58 +05:30
Nabin Hait
baea1f6d41 minor fix 2016-03-16 14:54:26 +05:30
Rushabh Mehta
ebbcd4593e [refactor] [optimize] dynamic links on deletion 2016-03-10 15:14:44 +05:30
Anand Doshi
a0b1cac988 [fix] on delete doc, delete comments and orphan communications 2016-03-09 12:14:14 +05:30
Anand Doshi
465318878e [enhancement] Merge Comment and Feed into Communication 💥 2016-02-04 17:46:53 +05:30
Anand Doshi
357e61f9d5 [fix] injection 2015-11-17 18:27:29 +05:30
Saurabh
68e8810556 [Fixes] Upload file from listview, doc preview and download 2015-09-21 15:43:31 +05:30
Rushabh Mehta
4cec51e65d [celery] cleanup and made monitor optional and real time in data import 2015-09-08 17:20:37 +05:30
Anand Doshi
fe72e05c6f Merge pull request #1263 from rmehta/editor-fix
[fixes] added template and small toolbar if in grid
2015-08-19 16:14:13 +05:30
Rushabh Mehta
c89d595906 [fixes] added template and small toolbar if in grid 2015-08-19 12:58:27 +05:30
Anand Doshi
b75dd31220 [fix] ignore permissions when deleting linked ToDos and Comments, and unlink Communication instead of deleting them 2015-08-19 12:51:18 +05:30
Anand Doshi
ac2312e9ab [fix] dynamic link checking during cancel 2015-08-14 12:48:55 +05:30
Nabin Hait
d262537b6f [fix] ignore share permissions while deleting shared doc via delete_doc 2015-05-21 16:53:22 +05:30
Rushabh Mehta
cb6b806b9e [fixes] website & delete_doc 2015-04-01 15:42:27 +05:30
Rushabh Mehta
08c0b330b1 [delete_doc] delete comments and communications 2015-04-01 15:02:22 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Anand Doshi
ce9e3ed931 Remove flags in frappe.call, api, run_method, filter moduleview items by permission 2015-02-10 18:56:28 +05:30
Rushabh Mehta
8cde7bfc23 [print] tables & [feature] share #992 2015-02-04 17:01:46 +05:30
Rushabh Mehta
d4393365e4 [fix] in_install_app is in_install 2015-01-22 17:12:27 +05:30
Anand Doshi
99aabba7be [minor] darker app icon color & fix in delete doc 2015-01-08 14:27:28 +05:30
Anand Doshi
0324b11729 [design] fixes to Activity and Task Calendar 2015-01-07 15:44:15 +05:30
Rushabh Mehta
15a1f42eb3 fixed permission, module setup pages 2015-01-01 16:02:48 +05:30