Ankush Menat
bd3af4391f
fix: Commit ID parsing ( #28975 )
...
This is/was never returning anything.
- Arguments come before revs
- `cd` is kinda unnecessary
2024-12-31 10:33:57 +00:00
Akhil Narang
d7b74e9d30
fix(change_log): skip checking if develop is part of the detected version
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-11-13 13:26:46 +05:30
Ankush Menat
c973d08fe2
fix: ignore apps without pyproject ( #26498 )
2024-05-21 07:44:07 +00:00
Ankush Menat
16c8a30861
fix: Avoid erasing recorder during clear_cache
...
This reverts commit eadfe86fd834f43925956fa6d759127aaf363441.
2024-05-13 17:41:34 +05:30
Ankush Menat
c2d5ef175c
fix: cache github release data per bench ( #26382 )
...
Reduce API calls to github as public calls are limited.
2024-05-09 06:52:39 +00:00
Ankush Menat
45026aed37
feat: give higher priority to minor versions
...
Major versions will be shown when minor updates are exhausted only.
2024-05-04 15:08:35 +05:30
Ankush Menat
a234e79790
refactor: misc changes
...
- Move sys setting check to server side
- tomli import handling
2024-05-04 15:08:34 +05:30
Ankush Menat
e0c171b23b
feat: show security issues count
...
chore: conflicts
2024-05-04 15:08:34 +05:30
Ankush Menat
5ca14bb171
feat: FC specific update notifications
2024-05-04 15:08:34 +05:30
Ankush Menat
330a1b2044
fix: update notifier never running
2024-05-04 12:28:19 +05:30
Akhil Narang
26ae0f3460
fix: ruff fixes
...
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
barredterra
52f6c24982
refactor: check latest github release
2024-01-14 16:46:07 +01:00
Hussain Nagaria
8d2137c265
docs: consistent doc strings
2023-12-18 18:27:39 +05:30
Ankush Menat
8a37d6d278
perf: reduce memory usage of background processes ( #21467 )
...
* perf: defer translation.py imports
This indirectly imports babel which isn't really required most of the
time.
* perf: defer gzip import
* perf: move validate_and_sanitize_search_inputs
This causes all sorts of indirect imports and increases memory usage
* perf: defer requests module imports
* perf: defer system settings import
* perf: defer LOG_DOCTYPES import
Causes many indirect imports
* perf: defer update_site_config
* perf: defer notifications import
* perf: remove unused import
* perf: defer safe exec import
* test: memory usage overhead
2023-06-23 12:51:45 +05:30
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache ( #21282 )
2023-06-08 11:47:17 +05:30
Gavin D'souza
d357af1533
refactor: Add a maxsplit limit to string splits
2023-01-24 19:22:51 +05:30
Ankush Menat
5e2bbf834f
refactor: filter out apps not installed on bench
2023-01-16 13:54:40 +05:30
Sagar Vora
d8b7bc18d7
refactor!: deprecate sorting based on apps.txt in get_installed_apps
2023-01-16 13:54:27 +05:30
Ankush Menat
81b37cb7d2
refactor: clean up code to py310 supported features ( #17367 )
...
refactor: clean up code to py39+ supported syntax
- f-strings instead of format
- latest typing support instead of pre 3.9 TitleCase
- remove UTF-8 declarations.
- many more changes
Powered by https://github.com/asottile/pyupgrade/ + manual cleanups
2022-07-01 11:51:05 +05:30
Suraj Shetty
c0c5b2ebdd
style: format all python files using black ( #16453 )
...
Co-authored-by: Frappe Bot <developers@frappe.io>
2022-04-12 10:59:25 +05:30
hrwx
db4476fc5f
fix: reduce api call
2021-11-29 17:28:40 +00:00
hrwx
ae31a0d6fb
feat: add option to disable notification
2021-11-27 00:24:21 +00:00
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
1acb2ddd2f
fix: Use context managers to stream data
...
While executing git commands in the shell via Frappe processes, use
context managers to ensure files get closed after usage. This fixes the
ResourceWarning errors due to unclosed files.
2021-05-26 15:54:36 +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
Gavin D'souza
3e1f6c8103
style: Use f-string instead of format
2020-11-30 15:37:29 +05:30
Rohan Bansal
f8fd59b6eb
fix: remove HTTP filter
2020-11-30 15:15:19 +05:30
Rohan Bansal
9a84a7eb45
feat: use giturlparse to parse Git URLs
2020-11-27 17:30:43 +05:30
Rohan Bansal
08c8e517b6
fix: git check flow
2020-11-25 18:08:18 +05:30
Rohan Bansal
b52cfd1903
fix: add git URL check
2020-11-12 15:24:12 +05:30
Rohan Bansal
0e18070910
fix: error on trying to check semantic version
2020-11-11 14:56:55 +05:30
Gavin D'souza
a7e0e96e49
chore: Drop dead code
2020-09-07 15:16:00 +05:30
gavin
dd157ba822
fix: dont show git errors in terminal ( #11064 )
...
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2020-08-04 17:39:35 +05:30
Shivam Mishra
eef38a1802
fix: layout for new version available dialog ( #10389 )
2020-05-18 23:24:15 +05:30
Chinmay D. Pai
96c5162c7e
fix: compare and sort release list to get latest release
...
Signed-off-by: Chinmay D. Pai <chinmaydpai@gmail.com>
2020-04-22 14:18:38 +05:30
Suraj Shetty
dee4a7336c
fix(translations): Incorrect syntax
2020-01-29 15:22:35 +05:30
Sagar Vora
ef82f39f99
Merge branch 'staging' into develop
2019-01-29 18:24:11 +05:30
Aditya Hase
6b72faf44f
style: Linting fixes ( #6809 )
...
* style: Remove unused imports
* style: Remove unused local variables
2019-01-23 16:39:55 +05:30
Saurabh
d1bed88f3f
Merge branch 'staging' into develop
2019-01-15 19:14:06 +05:30
Saurabh
2fbf59522e
Merge branch 'master' into staging-fixes
2019-01-15 19:05:42 +05:30
Nabin Hait
5590193c8d
fix(version): getting version update ( #6717 )
...
* fix(version): getting version update
* fix(version): getting version update
2019-01-07 08:57:04 +05:30
Ameya Shenoy
c5d276b813
Merge branch 'staging' into develop
2018-11-28 08:24:00 +00:00
Ameya Shenoy
3669203acf
fix(get_version): from hooks.py instaed of git ( #6534 )
2018-11-26 12:16:12 +01:00
Ameya Shenoy
06d9385829
Merge branch 'staging' into develop
2018-10-19 12:51:40 +00:00
Ameya Shenoy
be8f37dc5b
fix(update message): multiple fixes
...
- added GitPython as a dependency
- use git describe to find the branch version
- prevent version popup for prereleases
- check for update weekly instead of daily
- fixed bug in check for update which used to compare minor version even
if there was a mismatch in comparing major versions
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-10-18 13:56:32 +00:00
Ameya Shenoy
04d255bc5f
fix(update message): multiple fixes ( #6275 )
...
- added GitPython as a dependency
- use git describe to find the branch version
- prevent version popup for prereleases
- check for update weekly instead of daily
- fixed bug in check for update which used to compare minor version even
if there was a mismatch in comparing major versions
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-10-18 12:33:00 +05:30
Ameya Shenoy
387f556dd5
Merge branch 'staging' into develop
2018-10-04 11:41:29 +00:00
Prateeksha Singh
d4d0a87d89
[change_log][minor] remove hr
2018-10-03 17:41:54 +05:30
Ameya Shenoy
1ba3f4a737
fix(release_popup): show only the non-beta release ( #6169 )
...
Signed-off-by: Ameya Shenoy <shenoy.ameya@gmail.com>
2018-10-02 10:43:09 +05:30
Ameya Shenoy
e551153ea0
Merge branch 'staging' into develop
2018-09-26 07:21:28 +00:00