spica-engine / spica Goto Github PK
View Code? Open in Web Editor NEWSpica is a development engine to build fast & efficient applications.
Home Page: http://spicaengine.com
License: GNU Affero General Public License v3.0
Spica is a development engine to build fast & efficient applications.
Home Page: http://spicaengine.com
License: GNU Affero General Public License v3.0
Stored attacks are those where the injected script is permanently stored on the target servers, such as in a database, in a message forum, visitor log, comment field, etc. The victim then retrieves the malicious script from the server when it requests the stored information. Stored XSS is also sometimes referred to as Persistent or Type-I XSS.
Can steal Cookie, Can run javascript code, etc
Bucket data getAll method shows the wrong return type. It says the return type is IndexResult which is only possible if paginate param is given. Also setting paginate as false shows an error that says false is not a type of true.
Hi everyone
I have installed spica, according to here, and started a project instance.
I have created a bucket and an API-key.
It's running:
qqqqqqqq@spicadev:~/spicaclient01$ netstat -tuanp|grep 4500
(Es konnten nicht alle Prozesse identifiziert werden; Informationen über
nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
tcp 0 0 0.0.0.0:4500 0.0.0.0:* LISTEN -
tcp6 0 0 :::4500 :::* LISTEN -
Spica client version:
qqqqqqqq@spicadev:~/spicaclient01$ cat package.json
{
"dependencies": {
"@spica/cli": "^0.9.15"
}
}
Now I'm trying to generate the ORM file, but it fails. I have tried different systems (local and remote) and different ways of assigning parameters (with / without "=" sign).
qqqqqqqq@spicadev:~/spicaclient01$ spica bucket orm --url=http://localhost:4500 --apikey=405gzo18kz5q4ykk
✖ Building interface and method definitions..
Cannot create property 'title' on string '!'
TypeError: Cannot create property 'title' on string '!'
at makeTitlesUnique (/usr/local/lib/node_modules/@spica/cli/src/commands/bucket/orm.js:249:26)
at Object.createFileContent (/usr/local/lib/node_modules/@spica/cli/src/commands/bucket/orm.js:65:19)
at Object.op (/usr/local/lib/node_modules/@spica/cli/src/commands/bucket/orm.js:25:36)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Se.orm [as _action] (/usr/local/lib/node_modules/@spica/cli/src/commands/bucket/orm.js:13:5)
at async Se.run (/usr/local/lib/node_modules/@spica/cli/node_modules/@caporal/core/dist/index.js:1:27579)
at async Te._run (/usr/local/lib/node_modules/@spica/cli/node_modules/@caporal/core/dist/index.js:1:32257)
What can I do?
I have also tried other spical client commands, and they seem to work fine.
Like this one:
qqqqqqqq@spicadev:~/spicaclient01$ spica project ls
NAMESPACE AGE STATUS VERSION PORT DESCRIPTION
testspica01 52y 45d 14h 54m 17s Up 22 hours latest 0.0.0.0:4500
Currently, the spica images are built for kubernetes environment;
So current spica images have quirks like;
These configurations should be configurable through env variables to be able to work in other environments.
The current workaround is replacing those lines with appropriate ones.
# Like we do in getting started docs
docker exec -it spica sed -i "s/\/spica\//\//g" /usr/share/nginx/html/index.html
docker exec -w /usr/share/nginx/html -it spica find . -type f -iname 'main-es*.js' -exec sed -i 's/\"\/api\"/\"http:\/\/localhost:4300\"/g' {} \;
Currently, functions support "application/bson" and "application/json" payloads however it must handle other most commonly used content types like
So function developers won’t have to handle them for each function.
In the documentation it says, function parses application/json by default although it does not.
Example;
export default function(request: triggers.http.Request, response: triggers.http.Response) {
// A entry will appear in function logs.
console.dir(request.body);
// Send body as response right away
response.send(request.body);
}
I just checked the demo link but doesn't work.
https://spicaengine.com/
Your connection is not private.
readme.md file:
Getting Started guide link does not work
https://next.spicaengine.com/docs/guide/getting-started
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.