Gavin D'souza
e080eab06b
style: Sort imports
3 年前
Gavin D'souza
4990a59c48
test: Added unit tests for format_timedelta, parse_timedelta,
json_handler
3 年前
Gavin D'souza
8037866dc1
fix: Handle parsing and formatting timedeltas
* Added utils parse_timedelta, format_timedelta
* Added to json_handler for de-serializing timedelta objects
3 年前
Gavin D'souza
9091b2a037
feat(minor): Case option in run-tests for specifying TestCase
3 年前
Gavin D'souza
429f839ea3
style: Add typing, sorted imports#
3 年前
Gavin D'souza
b403d67845
fix!: Don't use strtobool in sbool util
strtobool would convert 't', 'yes' to True too. Which shouldn't be a
problem generally but could be one possibly.
3 年前
Gavin D'souza
227dc26707
Merge branch 'develop' of github.com:frappe/frappe into set_value-refactor
3 年前
Shadrak Gurupnor
c3409c818e
fix: patch for validating options field ( #15565 )
* fix: patch for validating options field
* fix: reorder patch execution
* refactor: reduce queries for patching
* refactor: change patch name and license
Co-authored-by: Ankush Menat <ankush@frappe.io>
3 年前
saxenabhishek
02bdc35490
fix: make parameters for strings only
3 年前
mergify[bot]
2ea25f0baa
Merge pull request #15615 from ankush/perm_import
fix: AttributeError when calling frappe.permissions.$function
3 年前
Ankush Menat
d09fd25ad7
fix: import permissions
For some reason not importing this is causing issue with running the
functionality directly; specifically when running from background job.
3 年前
mergify[bot]
1313d66fae
Merge pull request #15561 from ruthra-kumar/data_exporter_bug
fix: data exporter throwing exception
3 年前
ruthra
93ae700612
test: add test cases for Data Export tool
3 年前
Rushabh Mehta
0486cde0a5
Merge pull request #15606 from rmehta/fix-user-info
fix: load user_info on-demand
3 年前
Suraj Shetty
db5fab52ed
Merge pull request #15610 from surajshetty3416/toggle-theme-option
3 年前
Suraj Shetty
645f23a9a7
fix: Add toggle theme as standard dropdown option
- For new sites toggle theme was not available. It was added via patch for old sites.
3 年前
Rushabh Mehta
545a3a3ac4
fix(minor): handle for illegal user
3 年前
gavin
dcbb9bb60f
Merge pull request #15597 from gavindsouza/refactor-backup-tests
refactor: Test Commands
3 年前
Rushabh Mehta
b08f9f3649
fix(minor): linting errors
3 年前
Rushabh Mehta
d2b9fc89ed
fix(minor): incorrect condition
3 年前
Rushabh Mehta
5b5662ed9a
fix(minor): remove print
3 年前
Rushabh Mehta
853287f49d
fix: load user_info on-demand
3 年前
Gavin D'souza
023269d927
test(fix): Remove options passed in archive backup tests
* Run archive tests only for MariaDB
* Removed and added the options for root and admin passwd because they
were in the site_config and not in common_ :')
3 年前
Gavin D'souza
d5b3fc04e0
fix: Breaking backup tests due to site settings
3 年前
mergify[bot]
daab7b580f
Merge pull request #15601 from ruchamahabal/fix-field-placement
fix(minor): Is Custom field placement in Role form
3 年前
Rucha Mahabal
b878b71e37
fix(minor): Is Custom field placement in Role form
3 年前
mergify[bot]
fa2cbe6a45
Merge pull request #15483 from Aradhya-Tripathi/at-fix
fix: fixed `frappe.db.escape` in query generated by query builder
3 年前
Gavin D'souza
7136106e3d
test: Clear cache on updating system settings
3 年前
Gavin D'souza
9e281e7b19
refactor: Test Commands
* Separate out test case for backup cases
* Split each case into separate tests
* Add teardown to remove files geenrated in custom paths
* Rename test that wasn't running
* Rename test cases for consistency
3 年前
mergify[bot]
a54bf39ec3
Merge pull request #15591 from sumaiya2908/html-editor-fixes
fix: html mode for ace editor
3 年前
Rushabh Mehta
712cf9563e
Merge pull request #15563 from Alchez/dev-connected-app-auth-url
fix: allow longer authorization URIs
3 年前
Rushabh Mehta
beada02a7e
Merge pull request #15436 from sumaiya2908/cleanup-portal
refactor(UI): cleanup portal pages
3 年前
Summayya
75c0e76030
fix: html mode for ace editor
3 年前
mergify[bot]
85fc42a1ea
Merge pull request #15549 from nextchamp-saqib/handle-504-errors
fix: catch exceptions while parsing json on request failure
3 年前
Summayya
9ce0031d7c
refactor: code indentation
3 年前
Summayya
425f6eca43
refactor: code indentation
3 年前
Ankush Menat
eeff2a22f8
fix: enable languages inserted during setup ( #15588 )
3 年前
Suraj Shetty
0c23852287
Merge branch 'develop' into cleanup-portal
3 年前
Suraj Shetty
cfc55c7597
Merge pull request #15586 from surajshetty3416/fix-date-control
3 年前
saxenabhishek
9121014f48
fix: ignore copy of getattr methods
3 年前
Gavin D'souza
b64dc65088
fix: Set cache=True to maintain old behaviour consistency
3 年前
saxenabhishek
ece1564e4d
fix: replace the field method with a column
3 年前
Saqib Ansari
6a55fd535d
Merge branch 'develop' of https://github.com/frappe/frappe into handle-504-errors
3 年前
mergify[bot]
6f8f792c01
Merge pull request #15574 from resilient-tech/fix-limit-in-get-method
fix: limit in `Document.get`
3 年前
Suraj Shetty
1d1ed171a1
fix: Pass date object instead of string for selectDate to work
"Today" button was not working because get_now_date was returning string
3 年前
Summayya Hashmani
645fde2e67
fix: email fetch error for imaplib ( #15581 )
* fix: remove maxline for imaplib
* refactor: remove redundant line
Co-authored-by: Summayya <frappe@Summayyas-MacBook-Air.local>
3 年前
mergify[bot]
2081f485c8
Merge pull request #15354 from cpdeethree/frappe-postgres-changes
fix: SQL queries to improve Postgres support
3 年前
cpdeethree
58f7b02c30
fix: add test_for prepare_select_args
3 年前
Gavin D'souza
4e5f02aea5
Merge branch 'set_value-refactor' of github.com:gavindsouza/frappe into set_value-refactor
3 年前
Gavin D'souza
f5072af00d
fix: sbool before cint in cast for Check types
Noticed an issue when get_single_value wasn't returning the correct
values; by converting true to 0.
Tested it out. Here's the examples:
In [2]: sbool("2")
Out[2]: '2'
In [3]: cint(sbool("2"))
Out[3]: 2
In [4]: cint(sbool("-1"))
Out[4]: -1
In [5]: cint(sbool("0"))
Out[5]: 0
In [6]: cint(sbool("1000"))
Out[6]: 1000
In [7]: cint(sbool("10_000"))
Out[7]: 10000
In [8]: cint(sbool("true"))
Out[8]: 1
3 年前