Alan
905227f9a4
Merge pull request #149 from 18alantom/fix-validate-fieldname
...
fix: validate null before iterating over rows.
2021-10-20 12:34:55 +05:30
18alantom
c4b0395b42
refactor: use nullish coalescing
2021-10-20 12:31:50 +05:30
Franklin A. Toribio Maria
6b23aeb986
Fixing verification on document.js - applyFormula Method
2021-10-20 12:29:11 +05:30
Alan
dbdc3c9354
Merge pull request #147 from 18alantom/chore-bump-node-version
...
chore: bump node version
2021-09-30 14:56:41 +05:30
18alantom
6ad097f5d7
chore: bump node version
2021-09-30 14:55:28 +05:30
Alan
87fc6a30c0
Merge pull request #143 from frappe/build-bump-packages
...
build(deps): bump sqlite3 and knex versions
2021-09-30 14:42:54 +05:30
18alantom
36f125e1f0
build(deps): bump sqlite3 and knex versions
2021-09-30 14:17:21 +05:30
Faris Ansari
80dd922e15
Merge branch 'master' of https://github.com/frappe/frappejs
2020-05-06 23:48:27 +05:30
Faris Ansari
c842334003
fix: Handle null table
2020-05-06 23:48:19 +05:30
Faris Ansari
3978e79863
Merge pull request #116 from rmehta/default-as-function
2020-05-06 23:36:11 +05:30
Rushabh Mehta
613e5d6a5f
feat: Allow default to be a function
2020-05-06 23:28:36 +05:30
Rushabh Mehta
8158dade1d
Merge pull request #115 from rmehta/apply-forumla-fix
...
fix: fixes applyForumula for empty child table
2020-05-06 23:05:16 +05:30
Rushabh Mehta
9131b85221
fix(document.js): fix applyFormula for empty chid table
2020-05-06 22:57:52 +05:30
Faris Ansari
1980e5e26f
fix: Renumber rows when they are changed
2020-02-03 23:25:44 +05:30
Faris Ansari
6076b4f966
Merge pull request #111 from frappe/patch-run
...
feat: Patch Run
2020-01-28 17:13:40 +05:30
Faris Ansari
96b5bc091b
test: Fix Database Migrate test
...
- Use defaultsDeep instead of deepmerge
2020-01-28 17:11:26 +05:30
Faris Ansari
6e19cd76e2
fix: Remove unused Filter doctypes
2020-01-28 16:57:38 +05:30
Faris Ansari
bc39fa4feb
feat: PatchRun
...
- Run ad-hoc patch code
- Run patches based on patchOrder
- Skip already run patches
2020-01-28 16:55:47 +05:30
Faris Ansari
b00de586cf
fix: Support JS Date in frappe.format
2020-01-28 16:55:34 +05:30
Faris Ansari
0a401d32cd
fix: Validate doctype fields
2020-01-28 16:54:49 +05:30
Faris Ansari
ce5ecd1c18
fix: validate field only if value is set
2020-01-01 13:39:31 +05:30
Faris Ansari
53b0eea4f2
fix: validate select for non mandatory unset value
2019-12-27 22:04:45 +05:30
Faris Ansari
25f7e51312
fix: Only validate model fields
2019-12-27 22:03:16 +05:30
Faris Ansari
879b57f698
fix: validateFields before insert
2019-12-27 16:00:49 +05:30
Faris Ansari
e609aea4b6
feat: Standard validations for email and phone
2019-12-27 15:55:23 +05:30
Faris Ansari
d66501968f
feat: set and update directly in update method
2019-12-27 12:08:06 +05:30
Faris Ansari
8378319b1b
feat: Helper to round values in document
2019-12-26 19:16:02 +05:30
Faris Ansari
9e87809b56
fix: Show only dateFormat in SystemSettings
2019-12-24 15:41:05 +05:30
Faris Ansari
6497d05627
fix: Better error message for Select validation
2019-12-24 15:40:46 +05:30
Faris Ansari
827cad114a
fix: Mandatory check
2019-12-24 15:40:31 +05:30
Faris Ansari
30f5ca1a2e
fix: cleanup todo model
2019-12-20 11:58:50 +05:30
Faris Ansari
7071879ae5
fix: Better date format options with label
2019-12-20 11:58:31 +05:30
Faris Ansari
a53cc9f119
fix: validate select for array of objects
2019-12-20 11:58:00 +05:30
Faris Ansari
1603346b20
fix: validate mandatory for table fields
2019-12-20 11:57:29 +05:30
Faris Ansari
6b596a4021
feat: doc.push for adding children without change
2019-12-20 11:56:52 +05:30
Faris Ansari
75184d43c3
fix: update modified after triggers
2019-12-20 11:54:48 +05:30
Faris Ansari
2205a212eb
feat: validate method for fields
2019-12-20 11:52:16 +05:30
Faris Ansari
3a1a4caa78
fix: Better check for DuplicateEntryError
2019-12-20 11:48:53 +05:30
Faris Ansari
d19182b583
fix: Singles
...
- Initialize defaults for SIngles
- Cast values when loading a Single document
2019-12-18 23:52:47 +05:30
Faris Ansari
fef4f96e78
fix: frappe.db.getCachedValue
...
- CacheManager
- Use db.getCachedValue in doc.getFrom
2019-12-18 23:51:45 +05:30
Faris Ansari
7198979fc7
fix: frappe.registerModels
...
- Directly register from models object, not models.models
- frappe.getModels
- Validate model before registering
- Fix model.extend bug for duplicate fields
- Remove usage of deepmerge and use lodash/cloneDeep
2019-12-18 23:48:53 +05:30
Faris Ansari
86c57af94b
test: Add test for database migration
2019-12-13 12:43:45 +05:30
Faris Ansari
d1bbda829a
fix: Foreign key creation
2019-12-12 20:23:24 +05:30
Faris Ansari
4d616c075f
fix: Database
...
- Fix frappe.db.get for non existent record with children
- triggerChange in frappe.db.rename
- Handle null value in getAll filters
2019-12-11 17:57:25 +05:30
Faris Ansari
218b1a7a6b
Merge pull request #110 from frappe/knex
...
feat: Use Knex for query building
2019-12-10 01:49:02 +05:30
Faris Ansari
b48f0b2df9
chore: Add --exit to mocha test
2019-12-10 01:46:02 +05:30
Faris Ansari
49f8f96766
chore: Cleanup travis
2019-12-10 01:37:29 +05:30
Faris Ansari
b5bd5c9e77
fix: Remove unused auth module
2019-12-10 01:30:01 +05:30
Faris Ansari
e4ec2e11ee
fix: Optional configureWebpack
2019-12-10 01:28:42 +05:30
Faris Ansari
ced079c9cb
fix: Remove non-existent method
2019-12-10 01:28:33 +05:30