Rushabh Mehta
5befc80cd4
fix(minor): linting
2021-09-05 22:30:09 +05:30
Rushabh Mehta
20dea90670
feat(minor): Packages! also cleanup of DocField and other minor fixes
2021-09-05 22:01:55 +05:30
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
Gavin D'souza
32c6cf1c44
refactor(misc): frappe.db.delete > frappe.db.sql
...
Use frappe.db.delete wherever possible. Get rid of all the frappe.db.sql ;)
This commit focuses on the pending modules that had relatively easier
DELETE statements.
2021-08-19 19:53:16 +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
barredterra
3632a32272
fix: print warning and add comments
2021-05-13 15:59:39 +02:00
Raffael Meyer
aa06b63eb6
refactor: getattr
...
Co-authored-by: gavin <gavin18d@gmail.com>
2021-05-12 20:54:06 +02:00
barredterra
cb21e9de84
fix: 'Meta' object has no attribute 'is_tree'
2021-05-10 12:39:00 +02:00
barredterra
4a5f8dd23d
fix: ignore lft and rgt when migrating a tree doctype
2021-05-10 12:19:41 +02:00
Shridhar
bf0070f090
feat: added controller required for virtual doctype in boilerplate
2020-12-29 14:00:20 +05:30
Faris Ansari
398451103a
fix(customization): Only read .json files from custom folder
2020-10-16 15:43:17 +05:30
Shivam Mishra
3de0c18ab2
Merge pull request #10723 from scmmishra/feat-search-api-changes
...
feat: Search API changes
2020-08-14 14:00:56 +00:00
Shivam Mishra
0e380510c5
feat: ignore add total when syncing fixtures
2020-08-13 13:57:07 +05:30
Shivam Mishra
602366e285
feat: separate FTS and website search inside frappe.search
2020-08-06 19:47:46 +05:30
Shivam Mishra
19f42d1877
feat: added index all routes function
2020-08-06 19:47:46 +05:30
Shivam Mishra
a60a6fc04a
feat: function to get routes from published docitems
2020-08-06 19:47:46 +05:30
Shivam Mishra
59ce616153
chore: added docstrings
2020-08-06 19:47:46 +05:30
Shivam Mishra
8bb473143b
refactor: FullTextSearch class
2020-08-06 19:47:46 +05:30
Shivam Mishra
f9b59a7b10
chore: add docstrings
2020-08-06 19:47:46 +05:30
Shivam Mishra
f0547ce0d0
feat: added index hooks to website generator
2020-08-06 19:47:46 +05:30
Shivam Mishra
702a6f103a
fix: commit after removing index
2020-08-06 19:47:46 +05:30
Shivam Mishra
9db450f815
feat: add remove index option
2020-08-06 19:47:46 +05:30
Shivam Mishra
32fbab7d18
feat: remove re_index by path
...
* get_document_to_index sets user to administrator, this is not desirable when running desk, keeping this API available is not wise
2020-08-06 19:47:46 +05:30
Shivam Mishra
ac88787593
fix: syntax
2020-08-06 19:47:46 +05:30
Shivam Mishra
f33c05d128
chore: better comments
2020-08-06 19:47:46 +05:30
Shivam Mishra
aa0cf2bad4
feat: added re-index method
2020-08-06 19:47:46 +05:30
Shivam Mishra
91d0e47f1d
feat: optimize while storing index
2020-08-06 19:47:46 +05:30
prssanna
3aa3832bd3
feat: sync dashboards from json files
2020-07-06 12:11:57 +05:30
Faris Ansari
2cfe7d4457
fix: Sider issues
2020-06-05 15:52:11 +05:30
Faris Ansari
2056de1132
fix: Per site Full Text Search
...
- Create indexes in sites folder
- Ability to limit searches to a path using scope
2020-06-05 15:37:15 +05:30
Faris Ansari
6bba7595d7
fix: Doc search
...
- Fix styling
- Show only 5 results
- Search title and content
2020-05-31 23:30:13 +05:30
Faris Ansari
3a20187715
fix: Build search index for web pages after migrate
2020-05-30 18:03:38 +05:30
Faris Ansari
b17b0d9077
feat: Doc search
2020-05-27 18:02:16 +05:30
Faris Ansari
75cafdc359
wip
2020-05-19 02:14:44 +05:30
Shivam Mishra
48382fdca0
refactor: rename onboarding to module onboarding
2020-05-12 16:23:26 +05:30
Shivam Mishra
4be2ebbcd0
fix: add ignore_doctypes list
2020-04-28 22:30:37 +05:30
Shivam Mishra
5c8a63f0bc
feat: ignore status fields in onboarding and onboarding steps
2020-04-28 22:17:42 +05:30
Rucha Mahabal
19c69e5316
fix: anti-pattern code
2020-01-27 12:26:12 +05:30
Rucha Mahabal
739b033489
feat: implemented pull trigger in follower nodes
2019-10-11 02:16:31 +05:30
mergify[bot]
36deebec10
Merge pull request #8480 from Mangesh-Khairnar/fix-boilerplate-creation
...
fix: boilerplate creation
2019-09-24 17:11:48 +00:00
Mangesh-Khairnar
46af75f2ea
Update frappe/modules/utils.py
...
Co-Authored-By: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2019-09-24 10:16:04 +05:30
Mangesh-Khairnar
0d6b8072df
fix: boilerplate creation
2019-09-23 16:36:35 +05:30
ci2014
a8b53deb75
Fix loop error in utils.py
...
Property Setters got deleted on bench migrate and haven't been readded, because data was passed instead of d. Now it works.
2019-09-21 15:41:54 +02:00
Faris Ansari
bff94703cf
feat: Create NestedSet doctypes via configuration
2019-09-02 15:58:52 +05:30
Faris Ansari
d06abbd852
feat: Option to skip failing patches in migrate ( #7959 )
2019-07-23 16:46:15 +05:30
Saif Ur Rehman
dd5385e94b
style: Rename prepare_docdict_for_import to prepare_for_import
2019-04-24 17:06:46 +05:00
Saif Ur Rehman
6b427705be
fix: codacy
2019-04-24 17:06:24 +05:00
Saif Ur Rehman
a496e5b91c
feat: Remove null and empty attributes from DocType JSON file on export
2019-04-24 17:05:34 +05:00
Saif Ur Rehman
fc410ee950
fix: Move field_order sync logic to DocType controller and introduce hooks
...
before_export, before_import and prepare_docdict_for_import
2019-04-24 17:05:21 +05:00
Saif Ur Rehman
d30ec73d43
feat: Use field_order attr in DocType JSON file for cleaner git diffs
2019-04-24 17:05:01 +05:00