Commit graph

36 commits

Author SHA1 Message Date
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
Suraj Shetty
1cf1bc1e06 refactor: Remove unused functions 2021-08-19 17:48:40 +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
Britlog
662f409604
feat: Add quoting parameter in the UnicodeWriter constructor (#12578)
* Add quoting parameter in the constructor

* fix: Use quoting kwarg to pass quoting value

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2021-03-17 12:50:20 +00:00
Rushabh Mehta
75fe8a615a feat(app): move /desk to /app 2020-11-11 16:31:47 +05:30
Faris Ansari
e70f7fa706 fix: Show message if URL without gid is errored 2020-07-06 22:54:49 +05:30
Faris Ansari
e5e6c7c9fe fix: Extract gid from google sheets url 2020-06-30 12:15:12 +05:30
Faris Ansari
0e5b3769e4 feat: Ability to import data from Google Sheets 2020-06-12 12:33:37 +05:30
Rushabh Mehta
7135c0d9e8 fix(various): after manual testing 2019-05-24 11:22:09 +05:30
Rushabh Mehta
81fa64d4bc refactor(form.js): remove very old API 2019-05-24 09:08:56 +05:30
Rohit Waghchaure
0307b3da59 [Fix] File not found error 2018-10-10 13:17:53 +05:30
Ameya Shenoy
387f556dd5
Merge branch 'staging' into develop 2018-10-04 11:41:29 +00:00
Ameya Shenoy
66073c360a
Merge branch 'master' into staging-fixes 2018-10-03 14:51:32 +00:00
rohitwaghchaure
8fe95f2876 Submit the attendance if it's in draft mode (#6156) 2018-09-30 21:11:01 +05:30
Chinmay Pai
8943f6cfd5
file-api: migration improvements and fixes
* migrate more functions to file class
* add get_content(), returns file content from file_name
* move get_file_path() to get_full_path() to decrease naming ambiguity

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-06 17:30:33 +05:30
Chinmay Pai
6eca292e1a
[3/3] file-api: code migration
migrate api from file_manager.py to file.py

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-06 01:18:21 +05:30
Chinmay Pai
22ba310aaf
[2/3] file-api: code migration
migrate api from file_manager.py to file.py

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-09-03 18:04:45 +05:30
Chinmay Pai
16a99f5472
[1/3] file-api: code migration
migrate api from file_manager.py to file.py

Signed-off-by: Chinmay Pai <chinmaydpai@gmail.com>
2018-08-31 01:55:15 +05:30
Ameya Shenoy
5cee74e8db
python 2/3 fixes 2018-08-16 12:28:59 +00:00
Prateeksha Singh
d0a1565aa8 [csv-utils] don't decode when you've encoded special chars (#5970)
* [csv-utils] don't decode when you've encoded special chars

* Update csvutils.py
2018-08-15 11:25:56 +05:30
Achilles Rasquinha
3a5c090bde fix test case 2018-03-31 18:01:11 +05:30
Achilles Rasquinha
0563788cb2 fix data import test case 2018-03-31 17:47:16 +05:30
Achilles Rasquinha
f06b15bccb Fixed csv utils 2018-03-18 14:14:48 +05:30
Aditya Hase
769338f136 Replaced all instances of basestring with six.string_types 2017-08-11 00:10:11 +05:30
Aditya Hase
e6bd1e4995 Replaced all instances of 'unicode' with 'six.text_type' (#3825) 2017-08-02 16:57:39 +05:30
Aditya Hase
d3395dfd28 Replaced StringIO and cStringIO imports with six.StringIO (#3810)
StringIO and cStringIO modules are replaced with io.StringIO in
Python 3. six.StringIO is an alias for StringIO.StringIO in
Python 2 and io.StringIO in Python 3
2017-07-31 10:54:17 +05:30
Rushabh Mehta
3a211bf497 Merge pull request #1969 from frappe/hotfix
Hotfix
2016-08-12 11:39:20 +05:30
Rohit Waghchaure
1fbc271b5d [Rename Tool] Fixed reading data from wrong file issue 2016-08-11 19:27:40 +05:30
Rushabh Mehta
caeb6c8f58 [minor] fixed error for #5782 and grid text editor must be text 2016-07-18 14:48:34 +05:30
Rushabh Mehta
2191312c87 [enhancement] document management system 2015-09-21 15:41:34 +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
de73b13021 [fixes] print format builder, edit standard makes new format 2015-03-02 16:11:57 +05:30
Rushabh Mehta
8710680cfa [fixes] removed attach_files: wtf and cleaned up listviews 2015-02-19 20:04:51 +05:30
Anand Doshi
e6a7459657 Fixes in share, moved flags like ignore_mandatory, ignore_validate etc to doc.flags 2015-02-10 14:41:14 +05:30
Anand Doshi
536926cb12 [minor] Percent 2014-07-25 13:22:48 +05:30
Anand Doshi
eb5ddf4640 Limit available functions in jinja environment 2014-07-25 13:01:53 +05:30
Renamed from frappe/utils/datautils.py (Browse further)