Commit graph

95 commits

Author SHA1 Message Date
Ameya Shenoy
b40c04a571
Merge branch 'master' into develop 2018-06-22 05:08:21 +00:00
Ameya Shenoy
da53a30b9e
minor fix 2018-06-21 18:38:28 +05:30
Ameya Shenoy
6c02aaf16c [fix] for mariadb version 10.3 2018-06-21 15:01:42 +05:30
Saurabh
3d7e56d1ef [fix] added ignore_in_install flag to accommodate Gcal custom field (#5455) 2018-04-18 12:39:56 +05:30
Achilles Rasquinha
ce913f7a07 add set-config for global 2018-04-09 23:51:46 +05:30
laughsuggestion
0484c02682 Adding sync_hook, and fixing notifications for 'for_module'. (#5194)
* Moving after_install to occur after fixtures and customizations install

"after_install" was being called prior to fixtures that a module depends on gets installed, which makes after_install incapable of working with those doctypes. This is particularly frustrating because there is not an "after_install_with_fixtures_and_customizations" hook...

* fixing trailing whitespace

* Fix for notifications using "from_module".

Notifications using "from_module" designation previously did not work. There's two reasons for this. First, the calculation for summing notifications was exclusively choosing the notifications counts from doctype, and not using the total sum to include modules. Second, the default "_id" for a module was being automatically set to the "link" of a module. This is an issue because module links can actually contain JS (which allow them to open there pages in the same window, for example). Because of this, they do not make for good identifiers. This fix uses the toLowerCase of the module_name as the default module _id.

* fixing double declaration of count

* contending with "core is already defined" codacy error.

* Adding after_sync hook per @rmehta request.

* trying to force travis-CI to rebuild
2018-03-27 10:58:58 +05:30
Achilles Rasquinha
1388870aeb six moved to moves 2018-02-24 00:17:21 +05:30
Achilles Rasquinha
e405d1cabd [PY3] Added input compat with six 2018-02-23 17:04:15 +05:30
Achilles Rasquinha
14924620dc replaced raw_input to input 2018-02-15 15:38:06 +05:30
Rushabh Mehta
c3598c2521 [minor] setup wizard fixes 2017-07-20 15:54:34 +05:30
almeidapaulopt
020851d4f7 translation errors in several msgprint (#3438)
* translation errors in several msgprint

* small fixes

* fixes
2017-06-06 15:44:59 +05:30
tundebabzy
be7be766be Issue 3171 (#3178)
* adds new exception to be raised when any improper database configuration is detected

* changes behavior of `check_if_ready_for_barracuda` to raise ImproperDBConfigurationError instead of sys.exit`

* refactors `drop_site` to use a new exactly identical `_drop_site` function.

The reason for this is because the original `drop_site` function is decorated
and cannot be undecorated without nasty hacks. Breaking the function this way
allows me to make use of the `drop-site` logic easily.

* catches the ImproperDBConfigurationError raised from `check_if_ready_for_barracuda` function to drop all the artifacts of the failed new `Site`
2017-05-08 16:06:33 +05:30
tundebabzy
7b41d7e5eb Python 3 compatible print statements (#3199)
* changes print statements in file to python 3 compatible style using `__future__`

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* changes deprecated md5 module to hashlib

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements

* adds python 3 style for print statements
2017-05-01 12:34:29 +05:30
tundebabzy
3669c7ae20 removes site17.local that was mistakenly hard-coded into check_if_ready_for_barracuda (#3162) 2017-04-25 18:29:31 +05:30
tundebabzy
f070571900 Issue 3135 (#3138)
* creates new function `print_db_config` to print out ERPNext required database settings to console

* refactors `check_if_ready_for_barracuda` to make use of `print_db_config`

* adds a more explicit explanation before showing the `expected_config_for_barracuda` text

* adds MariaDB default configuration to documentation
2017-04-24 09:42:19 +05:30
Rushabh Mehta
dae1265f9f [minor] better error message for failed site 2017-04-17 12:58:56 +05:30
Rushabh Mehta
517374720f [library] frappe.safe_eval, https://github.com/frappe/erpnext/issues/8313 2017-04-06 18:24:05 +05:30
Nabin Hait
ba9d08fda3 User settings patch fixes 2017-03-30 17:40:12 +05:30
Nabin Hait
d836d1367f Fixed merge conflict 2017-03-15 11:26:55 +05:30
Rushabh Mehta
89185c4efe [minor] fix for in_install 2017-03-09 18:27:41 +05:30
Faris Ansari
1a76d64781 ListView refactor (#2715)
* [list_settings] save last_view, kanban_board, gantt_mode

* listview.js cleanup

* image_view refactor

* image_view done

* wip

* [photoswipe] wip

* show view for calendar, kanban even if no results

* [gantt_view] refactor into separate file

* [imageview] 3 column border fix

* [imageview] gallery working

* delete old libs

* indentation to tabs

* [gantt] update lib, custom popup html

* custom fontawesome checkbox

* reset gantt state when not permitted

* checkbox styling fix

* working commit

* image, calendar, gantt view working

* more refactoring, kanban view

* minor

* removed old files

* user settings improved

* filters and sort selector de-coupling

* wip

* [imageview] white pswp background

* kanban filters saving fixed

* fixed reportview

* minor

* removed listing.js

* minor fixes and cleanup

* patch for UserSettings table

* patch fix
2017-03-06 11:32:27 +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
Nabin Hait
4112407391 Reload in_standard_filter property 2017-01-06 12:56:04 +05:30
Nabin Hait
04ad313eab Remove web forms on uninstalling app (#2446) 2016-12-13 13:00:08 +05:30
Rushabh Mehta
bae97cfed4 Email Alert on any controller method (#2157)
* [docs] typo

* [email alert] now on any standard controller method

* [minor] install customizations with intall;

* [test] [fix] and truncate subject in email;

* [fix] error log seen issue
2016-10-08 11:11:36 +05:30
Nabin Hait
1315cfea42 portal sync menu after adding to installed apps 2016-09-29 18:12:54 +05:30
Rushabh Mehta
4148cea083 [enhance] save redirect info on sign-up 2016-09-24 13:05:05 +05:30
Rushabh Mehta
6157d7afc7 [fix] commands to setup help and version set as 7.1-beta 2016-08-24 12:44:04 +05:30
Rushabh Mehta
f91977f7da [feature] allow multiple sessions per user 2016-08-10 17:31:29 +05:30
Rushabh Mehta
f590832f15 Merge pull request #1954 from vjFaLk/get-path-fix
[fix] gzip path
2016-08-09 18:33:26 +05:30
Valmik Jangla
d461f5cd27 [fix] gzip path 2016-08-09 18:31:39 +05:30
shreyas
dac00c0fe6 [Fix] Added --yes or -y to bypass confirmation prompt to uninstall-app from site 2016-08-05 16:54:02 +05:30
Rushabh Mehta
754e23e745 [feature] added a new database _frappe_help containing all help files 2016-08-03 18:00:45 +05:30
Nabin Hait
65501d3432 Merge pull request #1915 from nabinhait/uninstall_app
[fix] Remove reports on uninstallation of apps
2016-08-01 13:29:29 +05:30
Rushabh Mehta
095450f50f [minor] remove pages from in remove-app 2016-07-29 12:59:11 +05:30
Nabin Hait
09dd01c353 [fix] Remove reports on uninstallation of apps 2016-07-28 18:54:56 +05:30
shreyas
09935604c4 [Fix] Raise exception instead of particular error 2016-07-21 18:04:31 +05:30
shreyas
a869831e51 [Minor] Fixed Restore files while restoring site 2016-07-19 13:05:02 +05:30
Rushabh Mehta
f81632b9d9 [redesign] removed website statics, www served like templates/pages 2016-06-23 10:54:31 +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
shreyas
9511e14353 Move Frappe subscription features to Frappe App as Limits 2016-06-10 16:34:53 +05:30
Rushabh Mehta
74919b99a0 [enhancement] remember list settings - sort, filters, paging 2016-05-30 18:19:47 +05:30
Rushabh Mehta
a356560108 Merge pull request #1662 from shreyasp/bench-restore-command
[Enhancement] Added feature to bench restore command to restore the public and private files
2016-04-01 11:11:40 +05:30
shreyas
a913e47828 [Enhancement] Added feature to bench restore command to restore the public and private files 2016-03-30 21:33:22 +05:30
Rushabh Mehta
dacaa7ab0c [enhancement] portal settings for portal menu 2016-03-30 12:28:55 +05:30
Rushabh Mehta
b6262c1639 [modules] [redesign] 2016-03-16 11:17:30 +05:30
Rushabh Mehta
28f038aa90 [enhancement] desktop icons DocType 2016-03-16 11:17:29 +05:30
Anand Doshi
35d1bfe68a [fix] uninstall-app: drop tables after commit 2016-03-01 11:55:53 +05:30
Rushabh Mehta
488caf99f3 [fix] [minor] bench version 2016-02-17 12:26:07 +05:30
Rushabh Mehta
e3a2b1265c [minor] quit install if before_install returns False and encoding in importer 2015-12-31 11:11:03 +05:30