repetere / periodicjs Goto Github PK
View Code? Open in Web Editor NEWPeriodic is a library for rapidly developing database agnostic enterprise applications and APIs with express & node.js
Home Page: https://github.com/typesettin/periodicjs
Periodic is a library for rapidly developing database agnostic enterprise applications and APIs with express & node.js
Home Page: https://github.com/typesettin/periodicjs
core controller should check for req.session.previewtheme, create preview theme session
move home page, and cache settings to theme core as well
move to theme tab
Hey Ernie,
so here's an interesting issue that came up while testing on amazon linux with @vishnuravi , the default npm install prefix is the user's home directory, this is an issue because during the install process from npm, it moves periodic from /path/to/webapp/node_modules/periodicjs to /path/to/webapp/periodicjs.
On certain linux distros this will continuously be a pain, I'd like to define the proper npm install prefix to install node modules locally in that directory
use codemirror
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "periodicjs"
npm ERR! node v0.10.32
npm ERR! npm v2.1.7
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `node scripts/install.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is most likely a problem with the periodicjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls periodicjs
npm ERR! There is likely additional logging output above.
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "periodicjs"
npm ERR! node v0.10.32
npm ERR! npm v2.1.7
npm ERR! Uncaught, unspecified "error" event.
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/spencerthayer/Desktop/newchicory/npm-debug.log
node.js:815
var cwd = process.cwd();
^
Error: ENOENT, no such file or directory
at Function.startup.resolveArgv0 (node.js:815:23)
at startup (node.js:58:13)
at node.js:906:3
create options callback for scrubbing data
https://visionmedia.github.io/superagent/#cors
request
.get('http://localhost:4001/')
.withCredentials()
.end(function(err, res){
assert(200 == res.status);
assert('tobi' == res.text);
next();
})
add tags,
categories to listings,
asset pages,
author pages,
preview slideshow and edit in lightbox
as per the convo with @adg29 , library name for entity grouping is ambiguous
as per the conversation with @adg29,
to install at top or bottom or at specific index
use similar mechanism with extension settings, namespace with theme name directory
login, have max attempts, make option before locking out account
send recover email link, option for the time out of the link also option for auth login in settings
update login nav
authlogin move to settings
when login, remove restrictions
create user callback
include default content types,
make content types an accordian, change admin style
viewcache: disk, redis, memory
datacache: tinycache, memcache, memory
https://www.npmjs.org/package/memcached
https://www.npmjs.org/package/tinycache
$ nsp audit-package
Name Installed Patched Vulnerable Dependency
qs 0.6.6 >=1.x [email protected] > [email protected] > [email protected]
send 0.4.3 >=0.8.4 [email protected] > [email protected] > [email protected]
qs 0.5.6 >=1.x [email protected] > [email protected] > [email protected] > [email protected]
In theme.js the CoreController.searchModel.model function does not search by Data
list additional node modules for periodic to restore after upgrade
use status, set to disabled
before rendering view, theme.viewhelpers
extensions add to res.locals.viewhelpers =[array of functions], viewhelper call(req,res,next)
var ejs = require('ejs')
, LRU = require('lru-cache');
ejs.cache = LRU(100); // LRU cache with 100-item limit
ref https://github.com/mde/ejs cc @ecasilla @janbialostok @vishnuravi @adg29
I'm getting the following error on new installation:
configuration log Tue Jan 06 2015 22:55:28 GMT+0100 (CET)-
creating admin user
Invalid extension installation: periodicjs.ext.admin
====!!ERROR!!====
Any ideas on how to fix it?
var sessionMiddleware = exp.session( session_options );
app.use(function(req, res, next) {
if (req.headers.authorization) {
return next();
}
return sessionMiddleware(req, res, next);
});
req.controllerData.fileData
pass parsed form (fields) to controller data
line 41 form.parse(req, function (err, fields, files) {
logger.silly(err, fields, files);
});
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.