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>
2 år sedan
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>
2 år sedan
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
)
2 år sedan
Ankush Menat
cc03176f50
ci: disable coverge on stable branch
Coverage has ~30% overhead, not required on stable branch
2 år sedan
Ankush Menat
c8843e8703
ci: dont install from mariadb repo
2 år sedan
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
2 år sedan
Gavin D'souza
31658e5241
ci: Install wkhtmltopdf in the background
2 år sedan
Gavin D'souza
d23705f60c
ci: Cleanup install.sh
2 år sedan
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>
2 år sedan
Ankush Menat
3a7c7ff182
ci: ignore HTML files for server tests
2 år sedan
Gavin D'souza
1723a6dc9d
ci: Add mariadb system dependency
2 år sedan
Gavin D'souza
db53813a68
ci(install): Set mariadb root password via envvar
ref: https://github.com/frappe/frappe/runs/7175643618
2 år sedan
Gavin D'souza
858735dfa9
ci(install): Use mariadb 10.6 client
2 år sedan
Gavin D'souza
65c6914068
ci: Bump mariadb from 10.3 to 10.6
2 år sedan
Gavin D'souza
448f9573f5
ci: Separate PY / conflict validation step, merge install
2 år sedan
phot0n
b0cea224c8
ci: consider svg as docs as well
2 år sedan
phot0n
6e818caa59
ci: use different reference for fetched label in has_label
2 år sedan
Gavin D'souza
f44333a18e
ci: Use bench commands with verbose option
2 år sedan
Gavin D'souza
6862c10403
ci: PY38 compatible roulette
2 år sedan
Ankush Menat
d35d7ffbe2
fix: remove bare exception catching
A bare except catches lots of things (like generator iteration end) and should never be used.
2 år sedan
Ankush Menat
9bd753551b
ci: temp fix for semgrep ( #17228 )
* ci: respekt my authoritah
* ci: use pip semgrep
2 år sedan
Gavin D'souza
aa83965313
ci(ui-tests): Print 'bench start' log on failure
Co-authored-by: Ankush Menat <ankush@frappe.io>
2 år sedan
Gavin D'souza
601217a4a2
ci: Run tests bypassing roulette with labels "Run UI Tests", "Run Server Tests"
3 år sedan
Ankush Menat
9137a597eb
ci: update apt cache ( #17057 )
3 år sedan
gavin
9100e8f0bb
ci: Install system dependency - libmariadb-dev
3 år sedan
phot0n
909ce30f0a
ci: Skip CI label for stopping build process
3 år sedan
chillaranand
e2652daf73
chore: Added flake8 to pre-commit config
3 år sedan
Ankush Menat
9bec3480ed
ci: failfast in case of conflicts ( #16777 )
3 år sedan
Suraj Shetty
21fcd00416
ci: While running all builds set build-server as well
3 år sedan
Suraj Shetty
5de89df5b7
ci: Only upload server-side coverage report if .py files are changed
3 år sedan
Suraj Shetty
e0dcabf224
ci: Build not required for UI tests
Since we build again after instrumentation
3 år sedan
Suraj Shetty
20056a447f
ci: Track server-side coverage as well while doing UI tests
3 år sedan
Faris Ansari
ad390aab22
fix: update docs link checker
since docs are moved to wiki
3 år sedan
Ankush Menat
3baa09401e
ci: update apt cache before install ( #15226 )
3 år sedan
Shariq Ansari
2dc74994e9
revert: "ci: install dev dependency without condition"
This reverts commit b9ebe88c5a
.
3 år sedan
Shariq Ansari
b9ebe88c5a
ci: install dev dependency without condition
3 år sedan
Ankush Menat
488cb31265
ci: move semgrep rules out of repo
3 år sedan
Ankush Menat
61a59240dd
ci: install dev dependencies for server tests
3 år sedan
Gavin D'souza
4a5bb2873d
ci: Ignore sql=>qb rule for test files
3 år sedan
Ankush Menat
ac1bb636cf
ci: flag new instances of sql_ddl and sql_list
3 år sedan
Ankush Menat
059e5441c2
ci: use semgrep pattern instead of regex
3 år sedan
abhishek
236c84ab8b
feat: semgrep rule for db.sql
3 år sedan
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>
3 år sedan
Ankush Menat
eb4e94f52d
fix: install mariadb client
GitHub action's Ubuntu 20.04 image has mysql8 tooling which is not
compatible with mariadb.
3 år sedan
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.
3 år sedan
Gavin D'souza
14d46f10de
chore: Add vue as extn to frontend code
3 år sedan
Gavin D'souza
525923d213
fix(roulette): Run only one conditional block
3 år sedan
Gavin D'souza
e2585cbc7e
ci(roulette): Add support for running on forks
3 år sedan
Gavin D'souza
fe060bda0e
fix: Use urllib instead of requests
Simply because "too much effort" to add another library pfft
3 år sedan
Gavin D'souza
e01ef7ff52
ci(roulette): Use GitHub REST to figure out changed files
3 år sedan