Commit graph

49 commits

Author SHA1 Message Date
Rushabh Mehta
98b1608ce9
Merge pull request #7100 from netchampfaris/doctype-form-ux
fix: Doctype UX
2019-03-22 17:59:07 +05:30
Faris Ansari
f724cd84a1 fix: Remove usage of script_type 2019-03-22 00:32:50 +05:30
Faris Ansari
60a9b6cb06 wip: fields not mandatory 2019-03-22 00:31:28 +05:30
Sagar Vora
280854fd6b feat: allow regional js in list view (#7066)
Required for https://github.com/frappe/erpnext/pull/16907
2019-03-13 13:58:34 +05:30
Faris Ansari
e2582c6306 fix(meta): Load assets only once in meta (#6004) 2018-08-23 15:40:19 +05:30
Rushabh Mehta
b1857a5132
optimize(meta): meta is now cached in redis (#5948)
* optimize(meta): meta is now cached in redis

* fix(meta): test fixes

* fix(meta): codacy

* fix(meta): allow nulls to be serialized

* fix(form_meta): fix form meta caches

* fix(form_meta): fix form meta caches

* fix(form_meta): don't cache for developer_mode'
2018-08-09 11:24:42 +05:30
Faris Ansari
a406e5db68 Kanban board fixes (#5933)
* class.extend -> es6 class

* fix(kanban): Fix kanban creation from sidebar

Creating custom fields from client side breaks in cases when DDL
queries and normal queries were run simultaneously.
Now, we do the heavy lifting on the server side

Also, moved kanban specific code from list_sidebar to kanban_view

* style: replace function with arrow functions

* style: semicolon
2018-08-07 14:41:51 +05:30
Rushabh Mehta
a5d6ee666b [fix] for custom docs 2018-06-27 14:09:04 +05:30
Rushabh Mehta
f187deb331 dont add code for custom doctypes 2018-06-26 19:17:45 +05:30
Rushabh Mehta
c4e1b9e0c1
[enhance] Add condition in transitions and move workflow to server-side (#5399)
* [workflow] move to server side

* [workflow] tests

* [workflow] tests

* [minor] remove print

* [fixes] tests and lint

* [tests] fix typo

* [fix] tests
2018-04-11 00:38:13 -08:00
Achilles Rasquinha
b5964b58a4 Fixed Python 3 2018-03-20 00:45:07 +05:30
Achilles Rasquinha
4433250cda Python 3 fixes 2018-02-13 12:27:02 +05:30
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +05:30
Manas Solanki
d0857f8013 Apply User Permissions is being ignored for blank field values (#3496)
* issue where Apply User Permissions is being ignored for blank field values

* configurable settings and added test case

* Update system_settings.json

* save and use locally stored value for strict user permission
2017-07-06 10:48:12 +05:30
Revant Nandgaonkar
36a54e29e8 Add js to doctype calendar view (#3599) 2017-07-05 11:08:09 +05:30
Rushabh Mehta
1ba6e32508 [fix] system_country can be none 2017-06-27 17:45:09 +05:30
Rushabh Mehta
f5b975305d [regional] ability to load country-wise js for forms 2017-06-27 17:30:50 +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
Faris Ansari
0fa716c56d [kanban] private kanban board for Note, create new project for Task 2017-03-15 09:59:24 +05:30
Rushabh Mehta
697a85f88d [fix] error message for custom script 2017-03-07 16:20:48 +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
a93294ce75 [minor] fixes to tag delete, added viewer in tree and other cleanups 2017-02-01 18:15:01 +05:30
Faris Ansari
9ddecfb14b Kanban enhancements (#2609)
* quick kb, some styling

* card ordering fixed

* AssignTo code cleanup

* card ordering fixed

* Empty column_name validation

* filter autosave

* column ordering

* column indicator color

* KB based on custom field

* added add_custom_field method
2017-01-20 11:57:40 +05:30
Faris Ansari
21a2b88d71 Kanban Board #2172 (#2542)
* [kanban] wip

* [kanban] refresh views on kanban change, add kanban board to title, kanban cards draggable

* update field on column change, open form when clicked

* [kanban] refactor into new view KanbanView

* [kanban] minor

* [kanban] refactor into classes

* [kanban] refactor wip

* [kanban] Show Board button in kanban board

* [kanban] add card, move card

* [kanban] wip

* [kanban] filters wip

* [kanban] add new column wip

* [kanban] filters sort-of working

* [kanban] filters still not working, ugh

* another failed attempt :(

* [kanban] filters working, added quick edit for cards

* [kanban] add column partially working

* added assign to

* kanban using stores wip

* wip

* add card, add column working without refresh

* save filter button

* show card meta

* delete column

* fluxify data flow

* change:cards working

* delete changed to archive

* removed old store implementation

* restore column option

* edit card title, api cleanup

* kanban_column_order wip

* kanban column order wip2

* order save finished

* fix new card sorting

* cleanups

* fixed undefined card

* fixed refresh on list view change

* cleanups
2017-01-10 15:06:06 +05:30
Neil Trini Lasrado
e60c19862c Some fixes for web forms (#2043)
* moved position of desc for a field of type text in webforms

* Fixed Link field in Web Forms

* [Fix] - comments in js must be /* */
2016-09-12 16:07:36 +05:30
Rushabh Mehta
9e3b5cd3cc [fix] comments for debugging js fixes #1961 2016-09-12 13:06:04 +05:30
Rushabh Mehta
90673954c7 [cleanup] dashboard automation 2016-07-07 14:02:07 +05:30
Saurabh
8629d10f5d [fixes] rename _treeview to _tree 2016-06-25 09:35:56 +05:30
Saurabh
9323595708 [enhance] hookable treeview 2016-06-25 09:35:56 +05:30
Rushabh Mehta
b902d1e8cc [enhancements] now can {% include %} in page js files and also write jinja like tags in js templates 2016-04-21 19:00:07 +05:30
Anand Doshi
5621ba30c0 [enhancement] Int, Currency, Float, Percent as not null and default to 0 2015-11-19 13:09:44 +05:30
Anand Doshi
debc641f36 [fix] load page_js via hook 2015-10-27 14:51:35 +05:30
Anand Doshi
0ece804cca [fix] Linked With should also search in Dynamic Links. Fixes #1192 2015-10-15 12:51:04 +05:30
Anand Doshi
b28bda4beb [fix] edge case for get_linked_document_type 2015-09-14 16:53:34 +05:30
Anand Doshi
ffb8ef29ca [fix] Use User Permission value as default only if the document type is Setup 2015-09-14 13:00:24 +05:30
Rushabh Mehta
748cac0d99 [enhancement] added 'assigned by me' in todo list 2015-08-14 12:19:35 +05:30
Pratik Vyas
bdc0625037 [fix] Custom script in custom DocType 2015-06-08 08:41:14 +05:30
Pratik Vyas
3294dfa226 [fix] Don't load code for custom doctype 2015-06-01 11:53:36 +05:30
Rushabh Mehta
9874370563 [minor] add html templates in doctypes 2015-05-26 15:06:19 +05:30
Rushabh Mehta
6ba4baecef [cache-redesign] meta cache 2015-05-08 12:16:16 +05:30
Rushabh Mehta
3adcad64c3 [minor] is_custom_field in Customize Form, page_name editable in Blog Post and other 2015-04-24 11:40:54 +05:30
Anand Doshi
f70f409a64 Merge remote-tracking branch 'frappe/develop' into v5.0
Conflicts:
	frappe/__version__.py
	frappe/hooks.py
	frappe/translations/ar.csv
	frappe/translations/bs.csv
	frappe/translations/ca.csv
	frappe/translations/de.csv
	frappe/translations/el.csv
	frappe/translations/es.csv
	frappe/translations/fr.csv
	frappe/translations/hi.csv
	frappe/translations/hr.csv
	frappe/translations/it.csv
	frappe/translations/ja.csv
	frappe/translations/kn.csv
	frappe/translations/nl.csv
	frappe/translations/pt-BR.csv
	frappe/translations/pt.csv
	frappe/translations/ru.csv
	frappe/translations/sr.csv
	frappe/translations/ta.csv
	frappe/translations/th.csv
	frappe/translations/vi.csv
	frappe/translations/zh-cn.csv
	frappe/translations/zh-tw.csv
	requirements.txt
	setup.py
2015-03-06 17:41:22 +05:30
Anand Doshi
2995f02f3b Web Notes to Frappe, better alerts, css fixes, fixed splash 2015-03-03 15:09:34 +05:30
Rushabh Mehta
532fb936a9 [feature] print format builder #977 2015-01-27 18:15:59 +05:30
Rushabh Mehta
090e9ac48c [ui] workflow and listview 2015-01-08 14:28:24 +05:30
Nabin Hait
a4d45cce6f Renamed table fieldnames 2014-12-26 13:17:18 +05:30
Rushabh Mehta
cc275ba7f9 [feature] Custom DocTypes fixes #649 2014-11-26 14:43:16 +05:30
Stefan Siegel
ea2d213fff Include the parent record in the "Linked With" dialog 2014-10-03 00:11:18 +02:00
Rushabh Mehta
5a0a9aac66 [refactor] frappe.widgets > frappe.desk 2014-09-29 12:21:12 +05:30
Renamed from frappe/widgets/form/meta.py (Browse further)