Commit graph

1066 commits

Author SHA1 Message Date
gshmu
a2642868a5 fix read_xlsx_file_from_attached_file when xlsx contain functions (#6400) 2018-11-09 10:53:03 +05:30
Ameya Shenoy
dd0e7ba472
fix(help): mitigate security fix for docs
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-10-30 17:13:00 +05:30
Aditya Hase
3afb9ebcbc
fix(security): Make Jinja tighter 2018-10-30 13:13:42 +05:30
Ameya Shenoy
95c8b30d7d
Merge pull request #6281 from kennethsequeira/hotfix
Update in-app Docs Generation
2018-10-23 18:05:18 +05:30
Kenneth Sequeira
026bd0d2bc fixed image link 2018-10-19 14:42:56 +05:30
Kenneth Sequeira
1e0880493c remove rogue tab space 2018-10-19 14:33:30 +05:30
Kenneth Sequeira
f31e7ac8a3 added source link for frappe docs 2018-10-19 14:30:34 +05:30
Shreya Shah
8e0410bdb0
Update help.py 2018-10-19 14:21:36 +05:30
Shreya Shah
0473ea9c6b
Update help.py 2018-10-19 14:09:49 +05:30
Shreya Shah
1f8c8568ed
Update help.py 2018-10-19 11:44:51 +05:30
Kenneth Sequeira
28b5589c72 Docs setup code same as v11
Currently, in v10, the docs still point to ERPNext develop branch, before it being moved to erpnext.org app.

Co-authored-by: Shreya Shah <shreyashah115@gmail.com>
>
2018-10-19 03:22:17 +05:30
Ameya Shenoy
be8f37dc5b fix(update message): multiple fixes
- added GitPython as a dependency
- use git describe to find the branch version
- prevent version popup for prereleases
- check for update weekly instead of daily
- fixed bug in check for update which used to compare minor version even
if there was a mismatch in comparing major versions

Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-10-18 13:56:32 +00:00
Saurabh
66a2d81df7 get link to reset password only if setup wizard is not completed 2018-10-11 14:43:37 +05:30
rohitwaghchaure
8fe95f2876 Submit the attendance if it's in draft mode (#6156) 2018-09-30 21:11:01 +05:30
Rohit Waghchaure
5f4432a343 [Fix] Change Log 2018-09-10 13:21:02 +05:30
Ameya Shenoy
840f05054d
update-info: put json in redis, and generate message at user end 2018-09-05 14:32:52 +00:00
Faris Ansari
0fcc0c9b89
Add only System Managers to update-user-set 2018-09-05 13:36:56 +05:30
Ameya Shenoy
a4f3ba6d99
translated strings and removed admin upgrade message 2018-08-24 11:38:37 +00:00
Ameya Shenoy
b944fcfdb5
[minor] pop up shown to system managers and functionified code 2018-08-20 21:18:09 +00:00
Ameya Shenoy
21bbbd2dbb
[feature] show popup for version update
- added a new weekly hook to check if new version update is available
- added function to desk.js to show popup in case a new version is
available
- added redis wrappers for set related commands, namely sadd, srem,
sismember, spop, srandmember, smembers
2018-08-15 20:34:48 +00:00
Shreya Shah
4c20d1f68f using regex instead of soup to parse pdf page margins (#5883)
* using regex instead of soup to parse pdf page margins

* Fix codacy
2018-07-30 14:32:33 +05:30
Ameya Shenoy
92f288bc2f added 2 fucntions to frappe.utils (#5877)
* added 2 fucntions to frappe.utils

- get_db_count: to get the db count of any DocType
- call: a wrapper for frappe.call

* Update __init__.py
2018-07-27 11:55:58 +05:30
Sagar Vora
5ddcf40a11 [python3] let PdfFileReader handle file opening (#5878)
In Python 3, file() is deprecated. 
PdfFileReader can internally handle file opening and closing, so file() no longer necessary.

See description of stream parameter here:
https://pythonhosted.org/PyPDF2/PdfFileReader.html#PyPDF2.PdfFileReader

Alternatively, open() can be used.
2018-07-27 11:55:48 +05:30
rohitwaghchaure
7293311f72 [Fix] Handle the OverflowError exception in the in_words method (#5769) 2018-07-11 11:56:01 +05:30
rohitwaghchaure
6f84e922f8 [Fix] Brute force security (#5785)
* [Fix] Brute force security

* Added patch and change the error message

* Added test case
2018-07-11 11:14:05 +05:30
Prateeksha Singh
479f51e23a [global-search] add doc check for route 2018-07-09 12:49:26 +05:30
Saurabh
e2b1ebe84c [Security][fix] To avoid possible sql injection via filters and or_filters parameters and tighten the field level checks (#5721)
* [fix] sanitize filters and or_filters to avoid sql injection

* add test cases for filter sanitizer

* codacy fix

* added test cases to test valid scenarios
2018-06-27 09:15:42 +05:30
Rushabh Mehta
9e2e65f305 [fix] varchar_len in global_search.py 2018-06-25 16:00:01 +05:30
Prateeksha Singh
cf1338bbca [global-search] route check 2018-06-25 09:45:12 +05:30
Prateeksha Singh
76be772e4c [global-search] trim strings directly 2018-06-22 17:21:00 +05:30
Prateeksha Singh
f3b2ba50f0 [global-search] trim varchar columns 2018-06-22 04:10:15 +05:30
Ameya Shenoy
becb347d1f
new app creation fix 2018-06-10 06:47:30 +00:00
Sharath C
22a2c682c9 Jinja Customization from hooks.py bug fix (#5604)
* Jinja Customization from hooks.py bug fix

* Condition to check for site initialization added.
2018-05-24 14:26:18 +05:30
Ameya Shenoy
188c4c87db [fix] global-setup-help (#5603)
- custom jinja templates are taken if and only if a site is mentioned
- added test in travis as well
2018-05-24 12:05:25 +05:30
Sharath C
873d3c85e8 Add Custom Jinja methods from hooks.py (#5585) 2018-05-22 10:16:38 +05:30
Saurabh
c1a338f8c0
Merge pull request #5491 from codingCoffee/decimal_fix
added handler for decimal object in response
2018-05-15 11:54:31 +05:30
Ameya Shenoy
09e71d0d77 added floor and ceil to frappe.utils (#5536)
Added frappe wrappers to math.ceil and math.floor, since they are widely
used functions. Also added their docstrings for documentation and wote
test cases. And some minor typo fixes
2018-05-08 15:13:50 +05:30
Ameya Shenoy
5cc28b1257 pip fix (#5527) 2018-05-04 19:05:48 +05:30
Ameya Shenoy
187b04bfa3
added handler for decimal object in response 2018-04-25 15:45:47 +05:30
Shreya Shah
c007c0c225 Fix for unknown locale languages in print format (#5424)
* fix for unknown locale in dates

* formatting fix
2018-04-17 11:29:22 +05:30
Rushabh Mehta
f03ac687ab [travis] --quiet 2018-04-16 15:09:08 +05:30
Ameya Shenoy
a6087cb243
Compatibility for pip10
- also some spaces and tabs fixes
2018-04-15 03:41:32 +05:30
Saurabh
fbf66336fb [hotfix][urgent] fix backup compression (#5418) 2018-04-09 15:18:55 +05:30
Ameya Shenoy
a8f9a652e1 dropbox backup not ablt to find filepath (#5406) 2018-04-07 19:55:01 +05:30
Saurabh
4e98f1689e [fix] breakdown backup process into two parts #5365 (#5390) 2018-04-05 18:24:19 +05:30
Zarrar
edd089d4a1 append now_time to the filename incase of duplicate (#5313) 2018-04-02 18:22:12 +05:30
Achilles Rasquinha
6a79028f6e avoid multi-redis connections 2018-03-28 11:49:27 +05:30
Zlash65
fae68f7d35 encode unicode objects 2018-03-26 14:59:41 +05:30
Zarrar
577ce03fd8 [Hotfix] File upload fix (#5254)
* append hash if same filename found while uploading through socketio

* pass file size

* upload after filename change
2018-03-23 15:13:58 +05:30
Rushabh Mehta
f20da41bf6 [fix] rename custom fields before sync if name conflicts (#5062)
* [fix] rename custom fields before sync if name conflicts

* [minor] re-add text_type

* Update doctype.py
2018-02-23 11:10:21 +05:30