38 Commits

Author SHA1 Message Date
Tom Ashworth
d54d4d3735 Redo github logic to fix incorrect linking. 2013-07-04 13:20:02 +01:00
Remy Sharp
0f1b36d0a6 Merge branch 'master' into fix/avatar-as-menu-655
Conflicts:
	lib/handlers/bin.js
	lib/models/user.js
2013-07-04 11:25:44 +01:00
Remy Sharp
9c9846becd add getUserBinCount to db adapters 2013-06-28 15:59:39 +01:00
Tom Ashworth
482a3daa84 Hook Github to existing user. 2013-06-24 11:14:13 +01:00
Tom Ashworth
2d5195bbc9 Support creating a new user with gihub, but sessions are broken. 2013-06-18 13:44:55 +01:00
Matthew O'Riordan
a234941cf3 API can require an API key for a user (disallow anonymous) 2013-05-20 07:18:57 +02:00
Matthew O'Riordan
666ab20a2e Remove annoying console output from SQLite driver 2013-05-19 15:57:19 +02:00
Tom Ashworth
6c2b145478 Support creating of bins with file-db. 2013-05-16 14:49:27 +01:00
Remy Sharp
6861fd7bac removed logging, and fixed sqlite module - was using completely the wrong method 2013-04-06 10:41:13 +01:00
Remy Sharp
be56fa0db8 If logged-in user created first revision of a bin, then they "own" the bin url - and other users will only be able to clone the url 2013-04-05 22:09:12 +01:00
Remy Sharp
3a18cc3446 put archiveBin back in to sqlite module 2013-03-16 07:01:16 -04:00
Tom Ashworth
06cb5b9182 Fix SQLite errors & bring up to speed with MySQL driver, address #353. 2013-01-11 10:40:27 +00:00
Tom Ashworth
0cc499a7d3 add support to the owners table for panels with content, and unified the setBinOwner, setBinForUser, assignBin, et al 2013-01-09 16:50:33 +00:00
Jon Linklater-Johnson
cfa3aa3b6d Flag abuse was missing 5626d3942ad99acaa810e426557239ec8dc2495a - so I cherry-picked it back in and resolved the conflict 2012-08-25 19:36:20 +01:00
Jon Linklater-Johnson
2ac195c5bf Fix issue with SQLite store 2012-08-25 11:47:33 +02:00
Remy Sharp
a4eb247ad4 Support log in using email as well as username. Fixes #314 2012-08-21 23:16:06 +01:00
Remy Sharp
40137a170c Create revision correctly updates "last_updated" making it set to /[user]/last/ 2012-08-21 13:59:27 +01:00
Aron Carroll
d9c2cd4a83 Lint the node source 2012-08-03 13:04:48 +01:00
Remy Sharp
df907c28ae Fixed sqlite corruption of panel.settings in the database 2012-07-27 16:44:10 +01:00
Aron Carroll
17f176a324 Add Store#upgradeUserKey() method 2012-07-23 23:02:18 +01:00
Aron Carroll
8cd8867583 Pass template params in correct order in Store#touchLogin()
Was preventing the last_login column from being updated correctly.
2012-07-23 23:02:18 +01:00
Remy Sharp
9260c890c8 Fixed restoring panel processors - hopefully for the last time! 2012-07-22 23:54:29 +01:00
Remy Sharp
b1efeb9e0f Force in default settings value - should really be in DB, but this is the defaults function, right? 2012-07-22 20:32:16 +01:00
Remy Sharp
c679f8e107 JSON translate appears to happen by default 2012-07-22 19:30:29 +01:00
Remy Sharp
57ff9cdda3 Capture processor on first save and milestones. Also disable code casting until bin is owned. 2012-07-22 11:55:22 +01:00
Remy Sharp
545166b315 Setting settings inside db modules - feels wrong I'm duping code. 2012-07-21 16:03:18 +01:00
Remy Sharp
c71835a72b BOOM. Closes #176
Now just need @aron to implement server side rendering so the previews
work now (that I've broken them with this support! :)
2012-07-13 17:56:49 +01:00
Remy Sharp
90065b9450 Update last_updated col on owners so that /rem/last always points to last active (includes db change) 2012-07-08 00:25:45 +01:00
Aron Carroll
81155381f2 Improve SQLite handling of bin defaults 2012-07-06 22:27:09 +01:00
Aron Carroll
6f50501c74 Update SQLite adapter to work with sql_templates.json 2012-07-06 21:48:12 +01:00
Aron Carroll
a3e6ad471d Use utils.inherit() to tidy up SQLite file 2012-07-06 17:47:24 +01:00
Aron Carroll
0e83bb3d40 Tidy up SQLite adapter a little more 2012-07-06 17:45:33 +01:00
Aron Carroll
69e208afde Update SQLite adapter to use sql_templates.json
This is completely untested. Please don't hurt me if it doesn't work!
2012-07-06 17:20:18 +01:00
Remy Sharp
57ce5ec7ac Allow user to use permalink /rem/last for easy device testing 2012-07-05 00:26:14 +01:00
Aron Carroll
665c045a8e Lint the codebase 2012-07-01 21:21:59 +01:00
Remy Sharp
664fc113a1 Few lint passes 2012-06-20 12:06:17 +01:00
Remy Sharp
0d2633376b Fixed constructor 2012-06-19 13:13:40 +01:00
Remy Sharp
2628d14e70 initial sqlite support - only tested saving, but it works - IT WORKS! 2012-06-19 01:29:45 +01:00