Gavin D'souza
d2a5b8b002
ci: Skip pre-commit on branch builds
пре 2 година
gavin
2eccdad19d
Merge pull request #17605 from gavindsouza/ci-actions-refactor
ci: Actions Cleanup
пре 2 година
Gavin D'souza
590e983a7f
ci: Rename release action
release.yml was a bit ambiguous given we have separate action configs
related to release event or intent.
пре 2 година
Gavin D'souza
1e40b32ebf
ci: Combine actions to be triggered 'on release'
* Trigger static asset building & updating release assets
* Trigger Docker release build
пре 2 година
Gavin D'souza
de97eaf603
ci: Merge vulnerable dependency check to linter action
пре 2 година
Gavin D'souza
a7ab78bde1
ci(minor): Actions
* Rename CI actions to add database_type
* Add workflow_dispatch to assets build action on develop
* Rename unit test jobs for better labelling on PR check titles
* Rename Patch action for consistency
пре 2 година
Gavin D'souza
4289e7c7ea
ci: Merge PR linter checks
* Combine jobs to be triggered at pull_request events: commit-lint,
docs-required, linter
* PY310-ize helper scripts
пре 2 година
Gavin D'souza
31658e5241
ci: Install wkhtmltopdf in the background
пре 2 година
Gavin D'souza
d23705f60c
ci: Cleanup install.sh
пре 2 година
mergify[bot]
249e647fc4
Merge pull request #17592 from nabinhait/notify-mentions
feat: Enable mentions and notify users from any text field
пре 2 година
Shadrak Gurupnor
c38f79edd6
style: Fix import order
пре 2 година
mergify[bot]
b718bfe6b8
Merge pull request #17482 from ChillarAnand/cleanup
refactor!: Removed parse package
пре 2 година
Ankush Menat
615f0dbcb8
Revert "refactor: desk missing doc handling"
This reverts commit d11fdc3ca4
.
пре 2 година
Ankush Menat
d11fdc3ca4
refactor: desk missing doc handling
- reduce 1 query
- make normal and virtual doc behave in same manner
пре 2 година
Shridhar Patil
0285d4f686
fix: frappe.db.exists will always return error for virtual doctype ( #17595 )
So first check whether the doctype is virutal
пре 2 година
Nabin Hait
ad1de51b0d
Merge branch 'develop' into notify-mentions
пре 2 година
Ankush Menat
ac83a0fdda
Merge pull request #17548 from ankush/fix_virtual_doctype
refactor!: Virtual DocType
пре 2 година
Ankush Menat
0f83e9e944
fix: correct import path
Co-authored-by: gavin <gavin18d@gmail.com>
пре 2 година
Ankush Menat
e35671203c
refactor: simplify virtual doctype example
пре 2 година
Ankush Menat
d83712d553
feat: delete support for virtual doctypes from desk
пре 2 година
Ankush Menat
4c877258f0
test: add tests for virtual doctype desk interactions
пре 2 година
Nabin Hait
53c22b0493
feat: Enable mentions and notify users from any text field
пре 2 година
gavin
7eb7ec2663
Merge branch 'develop' into cleanup
пре 2 година
Gavin D'souza
9dba593a6e
refactor: Add typing + comprehensions for readability
пре 2 година
Gavin D'souza
ad90923801
test(communication): Add test for handling duplicate email signatures
пре 2 година
Ankush Menat
f1d638473f
refactor: add reload function back
Assigning a function to a different name breaks inheritance model.
E.g. doc.reload() won't call virtual doctype's load_from_db but call
original load_from_db
пре 2 година
Ankush Menat
e8efd64dbc
refactor!: better API contracts for virtual doctype
Current APIs implement class methods as instance method, which is
problamamtic while implementing methods. E.g. If load_from_db doesn't
like empty docname then all class method will stop working.
This change while breaking is essential for usability of virtual
doctype.
пре 2 година
Ankush Menat
b8d56eaefb
chore: remove test doctypes from prod
пре 2 година
Ankush Menat
e88bc35cae
refactor: move is_virtual_doctype to relevant file
пре 2 година
Shridhar
b2203893a1
fix: do not fetch comments from parent for virtual doctype
пре 2 година
Ankush Menat
10da1622f4
fix: form view broken for virtual doctype
пре 2 година
gavin
b52fdbba45
Merge pull request #16961 from gavindsouza/mariadb-client-refactor
refactor!: Database
пре 2 година
gavin
f40214bca8
fix(get_last_doc): Allow for_update as kwarg only
Co-authored-by: Ankush Menat <ankushmenat@gmail.com>
пре 2 година
Gavin D'souza
d1fbab1c45
test(db): Add tests for untested db methods
пре 2 година
Gavin D'souza
2bef29bb46
chore: Deprecate backup script + minor refactors
пре 2 година
Gavin D'souza
1dbc0b4d3c
fix(db*): Use common fallback Datetime str
There existed inconsistencies between db_query & db's fallback for min
datetime in str format - missing decimal seconds places. Now, we're
storing the default string once and re-using it to reduce
inconsistencies or room for human errors.
пре 2 година
Gavin D'souza
bcfa8c276e
fix: Set default port attribute for Database classes
db.default_port wil be available as a class attribute to hold defaults
for DB types.
Usage: frappe.conf.db_port or frappe.db.default_port
Why: I couldn't run the mariadb command because the defaults aren't set
for my system. server is remote / containerized. Setting port in
equivalent mysql command fixes this.
пре 2 година
gavin
d285ce910f
Merge branch 'develop' into mariadb-client-refactor
пре 2 година
Gavin D'souza
1a610e135d
fix(db): Use sentinel object for default values paramters
пре 2 година
Gavin D'souza
e411132c6e
fix(db): Revert breaking change of wrapping NoneType in sequence
пре 2 година
Gavin D'souza
63e618c709
test: More resilient tests for sequences
пре 2 година
Gavin D'souza
006ebcbede
refactor: Use pymysql over mariadb client
This is supposed to be a temporary switch to make the parent PR easier
to digest. MariaDB client has some issues with release, and system
dependencies.
This commit may be reverted to enable mariadb client again.
пре 2 година
Shariq Ansari
b1e9bc8d12
fix: error while genarating date for blog post google search preview ( #17581 )
пре 2 година
Suraj Shetty
623650ab3b
Merge branch 'develop' of https://github.com/frappe/frappe into develop
пре 2 година
Suraj Shetty
9e87598dda
refactor: Use FrappeTestCase as it rolls back test data
пре 2 година
Ankush Menat
d2177d16a1
ci: bump node version to node16 ( #17564 )
* ci: bump node version to node16
* chore: remove `node-sass` - no longer used
Co-authored-by: Sagar Vora <sagar@resilient.tech>
пре 2 година
Sagar Vora
85a3837b14
fix: ensure 2FA patch sets parent only for 2FA keys ( #17575 )
* fix: ensure 2FA patch sets parent only for 2FA keys
* fix: try to rebuild defaults
* fix: set other app defaults as well
* fix: set POS profile defaults
* fix: exists params
* chore: remove unnecessary change
* fix: handle case where POS Profile doesnt exist
* chore: move erpnext code to erpnext
пре 2 година
Ankush Menat
b42e3b7a6b
Merge pull request #17491 from ankush/undo_stack
feat: Undo/Redo changes on FormView
пре 2 година
Ankush Menat
5ea96ced3a
test: undo/redo, jump to field UI tests
пре 2 година
Ankush Menat
e73f4aa8ab
fix: avoid nonsensical change triggers
if both values are same then logging it doesn't make much sense.
пре 2 година