Commit graph

115 commits

Author SHA1 Message Date
sivankar
a48b76b940 refactored code to add support in filters to get descendant or ancest… (#5847)
* refactored code to add support in filters to get descendant or ancestor for tree type documents

* added semicolon and comments to imporve code quality

* refactored code to add not ancestor and not descendants of filters

* added test cases for ancestors of and descendants of

* Translate labels
2018-08-14 12:19:18 +05:30
Prateeksha Singh
0d8b9c8653 Revert "Modules dropdown" (#5855)
* Revert "bench use <site> should check if the  site exists (#5849)"

This reverts commit 630858eb96.

* Revert "Add option to convert password to use ASCII instead of Unicode when needed by smtp server config (#5793)"

This reverts commit 191684f6a5.

* Revert "Token based authentication (#5752)"

This reverts commit abd3333bae.

* Revert "[minor] test fix"

This reverts commit b6ba3915a6.

* Revert "allow null when time field is not required (#5832)"

This reverts commit 803f6b0c7b.

* Revert "remove duplicate field entry for fieldname two_factor_authentication (#5846)"

This reverts commit 6a06e65d20.

* Revert "Query Report (#5845)"

This reverts commit f870a0bd25.

* Revert "Modules dropdown (#5767)"

This reverts commit 6f908b3443.
2018-07-23 15:34:34 +05:30
Prateeksha Singh
6f908b3443 Modules dropdown (#5767)
* [modules-dropdown] init

* [modules-sidebar] setup structure

* [modules-sidebar] add chunks to group

* [modules-dropdown] ellipsis

* [move] help menu to explore menu

* merge help column to modules

* [modules-dropdown] get explore links from hooks

* [add] explore_link secondary

* [modules-dropdown] Places list

* [modules-dropdown] deprecate desk link, make icon dropdown

* [modules-dropdown] collapsible help menu

* [remove] global navbar icon style

* [boot] define core modules, use in dropdown

* [modules-dropdown] code style fixes
2018-07-19 18:06:37 +05:30
Suraj Shetty
a93bc87363 Permission fixes (#5530)
* Add User Permissions to Config module

* Update Permission Manager help

* Fix share button

* Remove user-permissions page

* Remove unnecessary error modals

* User Permission UI fixes
- Fix double multicheck bug on save
- Add margin above and below select all button

* Update user_permissions dict realtime on client side

- Remove user_permissions from boot

* Cast permission dict values to int
2018-05-04 19:49:11 +05:30
Suraj Shetty
14c621fca2 Success Action (#5434)
* success model init

* ui changes

* whitelisted get_count method

* refactor success action

* refactor form.js
- lint error fixes
- reject promise on error

* Refactor
- option to add body to msg-alert
- remove unwanted css
- tweak msg-alert ui

* remove alert on any action click

* sample success modal config for toDo

* success alert redesign

* docstatus check

* close button position fix

* add doctype for success action setting

* remove unwanted changes

* remove unused import

* rename success action setting to success action

* add translatable label

* rename for_doctype to ref_doctpe

* remove unused frappe import

* replace get_list with get_all
to ignore permission check while loading boot
2018-04-18 11:22:51 +05:30
Nabin Hait
944b45b62d fixed merge conflict 2018-04-06 15:05:15 +05:30
Prateeksha Singh
8106b3839e [add] allowed app icons 2018-04-05 14:43:28 +05:30
Rohit Waghchaure
8044b8be89 [Fix] Footer for report print 2018-04-04 15:15:02 +05:30
Makarand Bauskar
d0fd1482c4 [hotfix] ignore the disabled reports in sidebar Reports section (#4200) 2017-09-28 12:12:16 +05:30
Rushabh Mehta
fd7e8eda62 [wip] file upload with socketio 2017-09-14 13:07:29 +05:30
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +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
tundebabzy
bbde2ec4cf rewrite use of dict.iteritems (#3498)
* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility

* dict.iteritems to six.iteritems(dict) for python3 compatibility
2017-06-19 09:10:21 +05:30
almeidapaulopt
b17b73c4f3 GSuite integration (#3252)
* GSuite initial commit

* GSuite initial commit

* cleanups

* exception handle

* gsuite script: add doGet

* Add GSuite integration to the upload popup

* hide dialog fields if gsuite disabled

* move gsuite code to gsuite.js from upload.js

* documentation

* change name format

* typo on GSuite

* copy paste the file .gs

* fix:don't show gsuite when creating a file in filemanager

* add version to webapp

* add webapp default url

* move webapp to html fied

* fix rebase

* fixes for codecy
2017-06-13 14:55:07 +05:30
Makarand Bauskar
17a09e4b70 [feature] domainification for frappe (#3227)
* [feature] domainify doctype, pages and roles

* [minor] added get active domain method to __init__

* [fixes] minor fixes in domainification and added test cases

* [minor] added checkbox-editor class to render the domains

* [minor] added checkbox_selector option

* [minor] added or_filters to filter restrict to domain doctype and roles

* [minor] fixed codacy errors
2017-06-13 14:36:01 +05:30
Faris Ansari
5adc4d2d24 Add file_watcher_port in common_site_config.json (#3375)
* Add file_watcher_port in common_site_config.json

* minor
2017-05-24 17:57:55 +05:30
Rushabh Mehta
62f0480117 [rename] frappe.www.print to frappe.www.printview 2017-05-03 15:59:24 +05:30
Javier Wong
ff2e37135d [Enhancement] Allow Notes (announcements) to be notified every time a user logins (#3094)
* [Enhancement] Allow Notes (announcements) to be notified every time a user logins.

* [Fix] Add Notify on Login flag in frappe.boot.notes

* Patch Doctype Notes to notify once for all existing notes

* Added newline to end of patch_notes_notify_once file

* [fix] Changed Notes Notify Once flag to Notify On Every Login

* Update note.json

* [fix] Removed frappe/patches/v7_2/patch_notes_notify_on_every_login.py
2017-04-17 14:43:59 +05:30
Nabin Hait
19b38ecaf9 Get allowed reports with report type 2017-04-13 15:14:15 +05:30
pratu16x7
f1595c06b4 [fix] set report-type for custom role reports 2017-04-13 14:33:09 +05:30
rohitwaghchaure
b4ae808980 Added system_page field in page to differentiate system page and custom page, patch to set reference doctype in the custom role, fixed sql query to get users reports (#3078) 2017-04-13 12:43:32 +05:30
Faris Ansari
3bf9c976c1 [fix] Reports in sidebar 2017-03-30 13:05:26 +05:30
Kanchan Chauhan
4a5875bda5 Sidebar reports fixed 2017-03-20 14:43:13 +05:30
Rohit Waghchaure
67f4de1802 [fix] Separate has role patch to make custom role from custom docperm, if custom role not available then chceck standard permission for page and report 2017-03-13 13:46:04 +05:30
Rohit Waghchaure
da424049a1 [Enhance] Role permission for page and report, added reset roles button 2017-03-11 13:49:25 +05:30
mbauskar
eda7b659a3 [WIP] Email Inbox view for Communication 2017-03-08 14:41:43 +05:30
Rohit Waghchaure
4c357643db Fixed patch, travis 2017-03-06 18:26:22 +05:30
Rohit Waghchaure
1dc9dbe28f patches for migration of roles 2017-03-06 14:42:14 +05:30
Rohit Waghchaure
cc37c5fda8 rename page role to has role, added doctype custom role to set the roles, added screen to set roles to the page and report 2017-03-06 14:38:54 +05:30
Rohit Waghchaure
e57e9f170b [Enhancement] Provision to add roles in the report 2017-03-06 14:38:54 +05:30
Makarand Bauskar
99d97530b1 [enhancement] Feedback Feature (#2683) 2017-02-09 11:30:54 +05:30
Rushabh Mehta
0a86d1941c [fix] boot.py 2017-01-19 15:23:29 +05:30
Rushabh Mehta
e1f1a411c8 [fix] email dialog 2017-01-19 15:05:51 +05:30
rohitwaghchaure
d78ae6001d [Enhancement] Added letter head for the report (#2472) 2016-12-20 16:43:07 +05:30
Rushabh Mehta
a099690e8f Revert "[optimize] remove count(*) from queries" (#2353) 2016-11-22 10:55:13 +05:30
Rushabh Mehta
0ff140fa2b [optimize] remove count(*) from queries 2016-11-21 14:58:18 +05:30
rohitwaghchaure
06b2b44b45 Remember last selected value (#2203) 2016-11-03 11:12:48 +05:30
Rushabh Mehta
ef3412b9cb [enhance] set doctype label via Customize Form frappe/frappe#2019 (#2061)
* [enhance] set doctype label via Customize Form frappe/erpnext#2019

* Update customize_form.py
2016-09-20 11:20:46 +05:30
Rushabh Mehta
80ca5fecad [minor] expire notification in popup note 2016-08-30 09:59:23 +05:30
Rushabh Mehta
f20bf4ae25 [feature] show note to all users on popup (#2017) 2016-08-29 15:40:26 +05:30
Rushabh Mehta
db9ba845e5 [enhancement] bulk update tool! 2016-07-15 16:28:20 +05:30
Anand Doshi
a7ace6ae38 [fix] limits and site_info 2016-06-25 21:56:27 +05:30
Rushabh Mehta
17d9177c86 [minor] awesome bar for treeviews 2016-06-25 18:28:14 +05:30
Anand Doshi
3854bcad04 [fix] limits variables and how usage is stored within limits + additional fixes 2016-06-25 17:41:19 +05:30
Rushabh Mehta
0cb31006e5 [redesign] website route is evaluated on request, no cold start 2016-06-23 12:23:37 +05:30
Rushabh Mehta
5fb331f8e5 [ux] fixes and rememeber_selected in hooks to set default link values 2016-05-02 13:37:45 +05:30
Anand Doshi
a7adc7da54 Merge branch 'master' into develop 2016-04-27 15:41:34 +05:30
Anand Doshi
ab55df6550 [fix] boot - get_gravatar
Fixes #1732
2016-04-27 13:14:10 +05:30
Rushabh Mehta
ef26877689 [enhancement] default user images based on user name 2016-04-01 19:16:08 +05:30
Rushabh Mehta
4aa2f441d5 [fix] missing modules POS and Learn 2016-03-16 13:00:24 +05:30