proloser / aggrofolio Goto Github PK
View Code? Open in Web Editor NEWThe first dedicated Blog-folio platform
Home Page: unfol.io
The first dedicated Blog-folio platform
Home Page: unfol.io
May even need to add it to every single page just to ensure the user owns the record, but for now lets just get the main thing functioning. Every single index and admin_index needs to be supplemented to have something along the lines of 'conditions' => array('[Model].user_id' => $this->[Model]->userId())
or for paginated pages
$this->paginate['conditions']['[Model].user_id'] = $this->[Model]->userId();
Of course [Model] would be substituted for that controller's model. Perhaps we can abstract this to app_controller?
So all the tables that import data (company, school, skill, album, media, project) have a column called 'uuid'. This is the unique ID from the REMOTE provider, not local. Right now there is a built-in (to cakephp) rule to check to see if that column is unique.
You can read about CakePHP validation here: http://book.cakephp.org/2.0/en/models/data-validation.html
Anyway, unfortunately this is not enough alone. Although it is extremely unlikely, there is a chance that 2 separate providers might share a uuid. For this reason we should compare unique with uuid and account_id columns combined. This looks like it will require a custom validation function (in all likeliness), which is also documented in the link above.
Please change all models to use a uniqueId validation rule that can compare multiple columns. The rule, if you end up making it from scratch, should go into appModel, however you would simply reference it in the validation attribute declarations in each child model where necessary. If you check the models corresponding to the list at the beginning finding mentions of 'uuid' in the validation should be easy.
I've been getting spammed like crazy. Best to look for an elegant simple solution to preventing spam
What pages should be subscribable? What items should be subscribeable?
example: filter "gallery" -> recognized media lables (music, phots) -> filter "music" -> recognized options (created, name, category) --> filter "created - default"
Need nodejitsu to enable new account
During registration, a blank (or default) setting record should be inserted alongside the new user's account. You can refer to this documentation: http://book.cakephp.org/2.0/en/models/saving-your-data.html#model-saveassociated-array-data-null-array-options-array on how to format the array for the association to be completed.
I would recommend in the UsersController, simply adding an empty array under a 'Setting' key NEXT to the 'User' key in $this->request->data
just before the call to $this->User->save (or saveAssociated in this case).
Where you retrieve the default data or what you decide to use can be up to you. We can build out a theme selector, or let the user add other options (such as the site name).
It's getting annoying always having to pass a name. Should I even bother making this required?
Posts can belong to parent posts.
Will it be easy to pull all posts in a series using find('threaded')?
Since a tree structure for categories is a bit unnecessary and is causing more problems than solutions. Can revisit in the future if necessary.
Complex, as it requires parsing multiple pages of html and scraping the data.
HTML5 supports this. I might as well too.
Makes the files impossible to open/render and may be causing thumbnail generation errors
Ability to add custom pages and have complete control over the navigation bar
So that future comments to a post can notify all other commentors.
Currently only appears on Album and Media Item. Need to add this to Bookmarks and Projects and Posts as well. Value needs to be populated when scanning blog and jsfiddle.
as seen on dribble
When scanning entries from an rss (specifically for blogs) the category needs to be matched.
Currently I'm just doing PostCategory->findByName() but this should be changed to a find(list), with all entries uppercased, and then checked for isset().
If a project has a link to a live website, it should be checked periodically to see if it's still available.
Comments and other notifications must be emailed to the site owner. This setting needs to be added, or the primary user should be reused.
Should also show it as a breadcrumb if the category is nested.
preferably a 1-size fits all solution such as Add-This
How do we handle rebounds (revisions)
Text doesn't word wrap. Use if statement on website.
Sent via Hubroid
Need to get around to this too.
Preferably drag and drop
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.