Commit graph

44 commits

Author SHA1 Message Date
abhishek
69d8eddf5a refactor: remove unused args
refactor: remove unused args
2021-10-11 17:23:17 +05:30
abhishek
278883edb0 fix: missing migration hash column 2021-10-11 17:23:17 +05:30
Gavin D'souza
db6fc6a5fb feat: Hash based comparison migration 2021-10-11 17:23:17 +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
Suraj Shetty
2d8c6c1710 Merge branch 'develop' of https://github.com/frappe/frappe into refactor-website 2021-06-03 11:43:28 +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
Suraj Shetty
e6d701b038 refactor: Use clear_website_cache instead of clear_cache 2021-05-25 15:02:18 +05:30
Suraj Shetty
86897c1808 refactor: Remove render.py and move all utility functions to utils.py
- Replace or remove all render imports
2021-05-25 10:53:35 +05:30
Gavin D'souza
ab34d1d9e7 fix: Remove dead option "rebuild-website" in migrate 2020-09-29 21:13:41 +05:30
Gavin D'souza
2d96a2c4cc fix: Docstring latest=>current 2020-09-09 13:42:30 +05:30
Shivam Mishra
68e4509792 chore: update comment 2020-08-06 19:47:46 +05:30
Shivam Mishra
6f0c4a4bf1 fix: import for build_index_for_all_routes 2020-08-06 19:47:46 +05:30
Shivam Mishra
20f06f0d24 chore: revert "feat: make search indexing optional in migrate"
This reverts commit b5fe9d4f7be8dae3e3e946b4327bf44b9a35448c.
2020-08-06 19:47:46 +05:30
Shivam Mishra
8b7ae16cdd feat: make search indexing optional in migrate 2020-08-06 19:47:46 +05:30
Shivam Mishra
b2100279d6 feat: update code for new search 2020-08-06 19:47:46 +05:30
Shivam Mishra
5145c58b81 feat: [breaking] remove global search from migrate
* Run search last as it changes the session user
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
51b8e467ad feat: add flag to disable search index rebuild on migrate 2020-08-06 19:47:46 +05:30
Shivam Mishra
d2d37a1e04 feat: move whoosh full_text_search build to migrate from hooks 2020-08-06 19:47:46 +05:30
mergify[bot]
b4e5df62d3
Merge pull request #10293 from gavindsouza/installed-apps
feat: single doctype to store installed apps data
2020-05-14 23:55:16 +00:00
Gavin D'souza
2473b1ccd7 fix: explicitly called method instead of updating implicitly 2020-05-12 10:20:10 +05:30
Gavin D'souza
ed74f52e20 feat: single doctype to store installed apps data
updated on migrate
versions enabled
2020-05-11 20:17:40 +05:30
Chinmay Pai
9cdcf56288
Merge branch 'develop' into bench-ux-fix 2020-05-10 15:43:56 +05:30
Shivam Mishra
db152b28de feat: sync dashboards after setup and migrate 2020-05-06 14:45:07 +05:30
Chinmay D. Pai
a25088a606
chore: show message on migrate when services are not running
shows message before migrate if the database or redis service is not running
instead of trying to migrate and then failing.

Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-13 19:10:19 +05:30
Rushabh Mehta
7cd329fac9 reactor(scheduler): created "Scheduler Job Type" and cleaned up scheduler 2019-11-07 12:14:09 +05:30
Faris Ansari
d06abbd852
feat: Option to skip failing patches in migrate (#7959) 2019-07-23 16:46:15 +05:30
Nabin Hait
b375ee9eef fix: merge conflict 2019-06-18 18:45:21 +05:30
Faris Ansari
766e26ac5f
feat: Index all web pages for search (#7322)
* feat: Index Web Pages for search

- Walks and indexes all webpages in global_search

* test: Web Page Indexing
2019-04-26 12:41:17 +05:30
Aditya Hase
11fca9fb5c feat: Maintain list of tables touched during migrate
This can be used to selectively restore changed tables from backup
after migrate failure
2019-04-23 10:32:34 +05:30
Aditya Hase
c29fcb02d6 feat: Maintain list of tables touched during migrate
This can be used to selectively restore changed tables from backup
after migrate failure
2019-04-23 10:31:44 +05:30
Prateeksha Singh
39ad843b3b feat(desk): DeskModuleBox, get some links if not set 2019-03-04 12:39:45 +05:30
Shivam Mishra
dad1c04aae feat: Deprecate In App Help (#6801)
* [feat] Removed help from toolbar.js

* [feat] Removed help from global search

* [feat] redirected search in help to docs website

[] Url needs to be configurable from hooks

* [Feat] Removed search functions for help

* [fix] Help links not redirecting

* [feat] Modified "Help" menu on desk toolbar

* [feat] Removed docs search from desk toolbar

* Removed Search from toolbar.js

* Removed /search_docs from website

* Removed help from migrate

* Deprecated help from command utils

* Removed help.py

* Removed help setup from travis.yml

* [fix] Fixed formatting issues

* [fix] Deleted commented code from toolbar.js

* [fix] Minor link fix

* [Fix] Fixed a small typo

* Removed docs_app dependency from pathces

* [fix] Removed commented code

* [fix] Typo in function name

* fix: remove commented code

* [fix] Changed 'Deprecated' message to 'Removed'

Removed will be the correct term instead of deprecated
2019-01-29 14:59:39 +05:30
Nabin Hait
1128f63bad Fixed import issue 2018-06-20 12:40:51 +05:30
Himanshu Mishra
4411cd46b4 add before after migrate hooks (#4829) 2018-01-23 15:19:52 +05:30
Rushabh Mehta
28b38d45e7 [fix] patches 2017-03-08 11:57:33 +05:30
Rushabh Mehta
1e7229c45f [enhance] global search in website (#2810)
* [enhance] global search in website

* [fix] create table query

* [website] navbar search in header if set

* [minor] navbar_search in website settings
2017-03-07 16:37:50 +05:30
Rushabh Mehta
86ceb21005 [feature] Global Search (again) (#2710)
* [start] global search frappe/erpnext#6674

* [fix] setup before running test

* [start] global search frappe/erpnext#6674

* Display result as rudimentary list, rebuild old doctypes

* Media view, child tables, delete document updates, searchable fields

* More results UI

* Code clean up

* remove msgprint from document.py to resolve merge conflict

* Modularization stage 1, get show more to work with it

* Dedicated modal Search bar works, some clean up needed

* Can't data-dismiss on links, Bootstrap issue, use hashchange

* Accomodate missing field content syndrome

* Search in boolean mode, make GS default in awesome bar, fix double modal bug and cleanup

* Add in Meta

* Add in customize form

* Modularise Global Search

* Search object

* Commonify Search UI: Stage I

* II: save list state, UI, default condensed view, refactor

* Fix SQL bug, Refactor awesome bar, Fix unicode bug, add nav results

* Refactor using separate search objects, some async issues

* Fix async flow

* Fix preceding more list bug

* UI additions

* another async fix, back link

* Help: Stage I

* Help: Stage II

* Background jobs, fix route options bug

* Fix GS syncing on install

* Add GS options in awesome bar: test

* Input now remembers search type state

* More UI updates

* Add description for GS results in awesome bar

* Fix help modal bug

* Fix: not commit during install

* Test cases, some fixes

* Update in_test flag in enqueue

* Disable GS sync when not install_db

* Add flag check

* Disable field in child tables

* Cleanups

* Create table fix

* Fix redis exception, remove commit enqueue, add gs in migrate

* Fix tests

* Single enqueue

* cleanups

* Fix tests

* Fix event test

* Fix duplication, search as first option

* Add show name in global search

* fix event tests and desk.less

* Fix communication.json

* [fixes] wip

* [fix] tests

* [minor] for tests

* [minor] for tests

* [minor] for tests

* [minor] for tests
2017-02-13 14:50:54 +05:30
Rushabh Mehta
88afbcf9e4 [enhance] a better way to export customzations and Email Alert can now be standard and in app (#2134) 2016-10-02 23:32:34 +05:30
Rushabh Mehta
6157d7afc7 [fix] commands to setup help and version set as 7.1-beta 2016-08-24 12:44:04 +05:30
Rushabh Mehta
f30a6b8360 [refactor] Language is now a doctype (#2003) 2016-08-23 16:38:03 +05:30
Rushabh Mehta
f81632b9d9 [redesign] removed website statics, www served like templates/pages 2016-06-23 10:54:31 +05:30
Rushabh Mehta
dacaa7ab0c [enhancement] portal settings for portal menu 2016-03-30 12:28:55 +05:30
Rushabh Mehta
23b38dbd04 [cleanup] added migrate.py and sync desktop icons on migrate 2016-03-16 11:17:29 +05:30