frappe / press Goto Github PK
View Code? Open in Web Editor NEWFull service cloud hosting for the Frappe stack - powers Frappe Cloud
Home Page: https://frappe.cloud
License: GNU Affero General Public License v3.0
Full service cloud hosting for the Frappe stack - powers Frappe Cloud
Home Page: https://frappe.cloud
License: GNU Affero General Public License v3.0
Add a sidebar with:
Chore Tasks:
Add App
window should show some tag and confirmation dialog while installing another SaaS appMigrate existing components to Frappe UI and contribute components where required.
Separate README in dashboard
covering some basic FrontEnd setup stuff.
I will do it.
I was setting up two new sites, while I was in the process of setting up site B I was redirected to site A dashboard as it had just finished being setup. Lost my progress setting up site B.
Error when install press in my mac air m1 on local.
Error using dockerfile=3.1.0 in file frappepress/apps/press/requirements.txt
, just using the latest version will solve this problem in my mac,
Error for default value "0" in time() type in file
.../apps/press/press/press/doctype/deploy_candidate/deploy_candidate.json
...{ "default": "0", "fieldname": "build_duration", "fieldtype": "Time", "label": "Build Duration", "read_only": 1 },...
Column "enable" does not exist in file
.../apps/press/press/press/doctype/site_config_key_blacklist/site_config_key_blacklist.py
if frappe.db.exists("Site Config Key", {"key": self.key, "enabled": True}):
it's solve by custom or manual edited code, but in this case i think is good for update to the master branch. Thank you.
Traceback (most recent call last):
1054 File "/opt/python/3.10.4/lib/python3.10/unittest/mock.py", line 1369, in patched
1055 return func(*newargs, **newkeywargs)
1056 File "/home/travis/frappe-bench/apps/press/press/tests/test_cleanup.py", line 362, in test_local_backups_with_different_bench_configs_expire_sites
1057 self.assertEqual(backup_1_1.files_availability, "Available")
1058AssertionError: 'Unavailable' != 'Available'
1059- Unavailable
1060? ^^^
1061+ Available
1062? ^
Refer (travis run log): Traceback (most recent call last): https://app.travis-ci.com/github/frappe/press/builds/255007410
As far as I have noticed, it starts failing at around the end of a month and keeps randomly failing till the end of first week.
Every SaaS app will have another app for managing limits and billing.
press api
will query these apps on a daily basis to get daily consumption as line items that should be updated on the Invoice
Something similar to how we handle things at frappe/frappe and other apps. Lesser linting & formatting failures in the CI
for old migrations
Button to update all sites in a bench (optional) once the bench is updated. Currently, sites have to be updated manually one by one.
For some benches, Drop bench
option is not available on the FC dashboard.
https://frappecloud.com/dashboard/benches/bench-0322/overview
press/press/press/doctype/invoice/invoice.py
Lines 371 to 374 in 39d2fa8
press/press/press/doctype/invoice/invoice.py
Lines 517 to 531 in 39d2fa8
This logo + link was added few months ago, right now it redirects to homepage. If this feature is gonna take some time, it's better to redirect to signup page where user can pick FC trial https://frappecloud.com/erpnext/signup
We need README contents.
Remember and default to the last team I selected when I login again.
it should be :04
and not :4
Example: agent job pages on dashboard
ref: https://frappecloud.com/dashboard/sites/afne.erpnext.com/jobs/94b6aaa602
In an ideal world, no one would edit deployed code, but alas we don't live in ideal world ๐ฅฒ
I'd suggest adding the following as default .vimrc
so it's tolerable while reading/editing. Bad defaults lead to issues like: https://frappe.io/app/issue/ISS-21-22-14109
set nocompatible
syntax on
set shortmess+=I
set number
set laststatus=2
set backspace=indent,eol,start
" set hidden " probably not required since we do small edits in single file
set ignorecase
set smartcase
set incsearch
nmap Q <Nop>
" clearly highlight current indentation
set list
set listchars=tab:\|\ ,
" frappe coding style
set noexpandtab
set shiftwidth=4
set ts=4
Currently, only projects/apps hosted on GitHub can be fetched on Frappecloud. It would be great to have support for other popular hosting platforms such as Bitbucket and GitLab.
Right now this takes you to the "new site" page (which is never useful in the case of add-on apps)
example of confusion: https://frappe.io/app/issue/ISS-21-22-12513
This commit is tagged properly but not recognized on site page (it's automated so can't think of any other reason)
https://github.com/frappe/erpnext/releases/tag/v14.0.1
dashboard: https://frappecloud.com/dashboard/sites/v14demo.frappe.cloud/overview
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 67, in application
response = frappe.api.handle()
File "apps/frappe/frappe/api.py", line 54, in handle
return frappe.handler.handle()
File "apps/frappe/frappe/handler.py", line 38, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 76, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "apps/frappe/frappe/__init__.py", line 1503, in call
return fn(*args, **newargs)
File "apps/press/press/api/billing.py", line 202, in create_payment_intent_for_buying_credits
intent = stripe.PaymentIntent.create(
File "env/lib/python3.8/site-packages/stripe/api_resources/abstract/createable_api_resource.py", line 22, in create
response, api_key = requestor.request("post", url, params, headers)
File "env/lib/python3.8/site-packages/stripe/api_requestor.py", line 122, in request
resp = self.interpret_response(rbody, rcode, rheaders)
File "env/lib/python3.8/site-packages/stripe/api_requestor.py", line 373, in interpret_response
self.handle_error_response(rbody, rcode, resp.data, rheaders)
File "env/lib/python3.8/site-packages/stripe/api_requestor.py", line 152, in handle_error_response
raise err
stripe.error.InvalidRequestError: Request req_RBcy4LHk9dAHtm: Invalid integer: 4707.0
copy of https://frappe.io/app/issue/ISS-21-22-09510
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.