Rutwik Hiwalkar
68f315d372
feat: Added Subscription Banner for remotely logging into FrappeCloud dashboard from site ( #18263 )
* feat: added Subscription Banner and Manage Subscription button
* feat[patch]: added a patch for adding `Manage Subscription` button in
navbar_settings
* chore: removed console ;)
* refactor: make the `Manage Subscription` navbar item optional
* keep it hidden by default, only show when the site configs are present
* style: prettier, isort and stuff
* chore: handling null responses, translation and refactored patch
* fix: correct index reset
* perf: reduce network/db calls
If not sys manager then why make a request?
* fix: removed network call and added subscription_expiry to boot process
* chore: added enable_manage_susbcriptions as daily background job and refactored patch
* chore: added hook to hooks.py
* this looks clean enough, also don't have insert for child tables ;)
Co-authored-by: Ankush Menat <ankush@frappe.io>
pirms 2 gadiem
mergify[bot]
a14f4a9fb1
feat: custom info in frappe monitor (backport #18214 ) ( #18216 )
* feat: capture custom values in frappe monitor
lets monitor add extra info for:
- Save/Submit by doctype
- Report generation time by standard report name
(cherry picked from commit 967cc26fab
)
* fix: use compact JSON representation for monitor
(cherry picked from commit 939bf872ae
)
Co-authored-by: Ankush Menat <ankush@frappe.io>
pirms 2 gadiem
Ankush Menat
1e81a2a2b5
ci: separate cache for UI jobs and selective test
This is reusing normal cache which doesn't contain half the things
(cherry picked from commit 236ab8dbed
)
pirms 2 gadiem
Ankush Menat
cc03176f50
ci: disable coverge on stable branch
Coverage has ~30% overhead, not required on stable branch
pirms 2 gadiem
Ankush Menat
c8843e8703
ci: dont install from mariadb repo
pirms 2 gadiem
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
pirms 2 gadiem
Gavin D'souza
31658e5241
ci: Install wkhtmltopdf in the background
pirms 2 gadiem
Gavin D'souza
d23705f60c
ci: Cleanup install.sh
pirms 2 gadiem
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>
pirms 2 gadiem
Ankush Menat
3a7c7ff182
ci: ignore HTML files for server tests
pirms 2 gadiem
Gavin D'souza
1723a6dc9d
ci: Add mariadb system dependency
pirms 2 gadiem
Gavin D'souza
db53813a68
ci(install): Set mariadb root password via envvar
ref: https://github.com/frappe/frappe/runs/7175643618
pirms 2 gadiem
Gavin D'souza
858735dfa9
ci(install): Use mariadb 10.6 client
pirms 2 gadiem
Gavin D'souza
65c6914068
ci: Bump mariadb from 10.3 to 10.6
pirms 2 gadiem
Gavin D'souza
448f9573f5
ci: Separate PY / conflict validation step, merge install
pirms 2 gadiem
phot0n
b0cea224c8
ci: consider svg as docs as well
pirms 2 gadiem
phot0n
6e818caa59
ci: use different reference for fetched label in has_label
pirms 2 gadiem
Gavin D'souza
f44333a18e
ci: Use bench commands with verbose option
pirms 2 gadiem
Gavin D'souza
6862c10403
ci: PY38 compatible roulette
pirms 2 gadiem
Ankush Menat
d35d7ffbe2
fix: remove bare exception catching
A bare except catches lots of things (like generator iteration end) and should never be used.
pirms 2 gadiem
Ankush Menat
9bd753551b
ci: temp fix for semgrep ( #17228 )
* ci: respekt my authoritah
* ci: use pip semgrep
pirms 2 gadiem
Gavin D'souza
aa83965313
ci(ui-tests): Print 'bench start' log on failure
Co-authored-by: Ankush Menat <ankush@frappe.io>
pirms 3 gadiem
Gavin D'souza
601217a4a2
ci: Run tests bypassing roulette with labels "Run UI Tests", "Run Server Tests"
pirms 3 gadiem
Ankush Menat
9137a597eb
ci: update apt cache ( #17057 )
pirms 3 gadiem
gavin
9100e8f0bb
ci: Install system dependency - libmariadb-dev
pirms 3 gadiem
phot0n
909ce30f0a
ci: Skip CI label for stopping build process
pirms 3 gadiem
chillaranand
e2652daf73
chore: Added flake8 to pre-commit config
pirms 3 gadiem
Ankush Menat
9bec3480ed
ci: failfast in case of conflicts ( #16777 )
pirms 3 gadiem
Suraj Shetty
21fcd00416
ci: While running all builds set build-server as well
pirms 3 gadiem
Suraj Shetty
5de89df5b7
ci: Only upload server-side coverage report if .py files are changed
pirms 3 gadiem
Suraj Shetty
e0dcabf224
ci: Build not required for UI tests
Since we build again after instrumentation
pirms 3 gadiem
Suraj Shetty
20056a447f
ci: Track server-side coverage as well while doing UI tests
pirms 3 gadiem
Faris Ansari
ad390aab22
fix: update docs link checker
since docs are moved to wiki
pirms 3 gadiem
Ankush Menat
3baa09401e
ci: update apt cache before install ( #15226 )
pirms 3 gadiem
Shariq Ansari
2dc74994e9
revert: "ci: install dev dependency without condition"
This reverts commit b9ebe88c5a
.
pirms 3 gadiem
Shariq Ansari
b9ebe88c5a
ci: install dev dependency without condition
pirms 3 gadiem
Ankush Menat
488cb31265
ci: move semgrep rules out of repo
pirms 3 gadiem
Ankush Menat
61a59240dd
ci: install dev dependencies for server tests
pirms 3 gadiem
Gavin D'souza
4a5bb2873d
ci: Ignore sql=>qb rule for test files
pirms 3 gadiem
Ankush Menat
ac1bb636cf
ci: flag new instances of sql_ddl and sql_list
pirms 3 gadiem
Ankush Menat
059e5441c2
ci: use semgrep pattern instead of regex
pirms 3 gadiem
abhishek
236c84ab8b
feat: semgrep rule for db.sql
pirms 3 gadiem
Ankush Menat
e6bbc698d0
ci: fail CI if asset bundling fails ( #14364 )
* ci: fail CI if asset bundling fails
* chore: formatting
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
pirms 3 gadiem
Ankush Menat
eb4e94f52d
fix: install mariadb client
GitHub action's Ubuntu 20.04 image has mysql8 tooling which is not
compatible with mariadb.
pirms 3 gadiem
Gavin D'souza
a5ded007a5
fix(ci): Run all builds on github push events
Issue: No PR number is detected on Push events and all builds are
skipped. We want the opposite to be true, so we're running all builds on
merges in hopes of testing better.
pirms 3 gadiem
Gavin D'souza
14d46f10de
chore: Add vue as extn to frontend code
pirms 3 gadiem
Gavin D'souza
525923d213
fix(roulette): Run only one conditional block
pirms 3 gadiem
Gavin D'souza
e2585cbc7e
ci(roulette): Add support for running on forks
pirms 3 gadiem
Gavin D'souza
fe060bda0e
fix: Use urllib instead of requests
Simply because "too much effort" to add another library pfft
pirms 3 gadiem
Gavin D'souza
e01ef7ff52
ci(roulette): Use GitHub REST to figure out changed files
pirms 3 gadiem