1
0
Commit Graph

79 Commits

Author SHA1 Message Date
643d4121c0 Add Access-Control-Allow-Origin header middleware
Fixes #3. Use the "Origin" header to specify what domain the request is
coming from. If that domain is approved
(https?://(localhost|dotdeploy.works)) it will include that origin in
the response headers.
2014-07-14 17:40:23 -07:00
73171d19fc Added updated api-docs for all resources 2014-07-01 17:57:40 -07:00
24afe901b9 Started adding api documentation
Using Swagger. Visit the root directory to see it in action or /api-docs
to see the raw json files.
2014-06-26 20:27:05 -07:00
a27e5a918f Updated readme and removed unnecessary dependencies 2014-06-26 18:13:58 -07:00
fc13a8d155 Stripped out compojure-api and added get-file 2014-06-26 17:55:11 -07:00
995ee154ae Pre-removal of compojure-api 2014-06-24 17:59:56 -07:00
2cbc55cf92 Added creating/deleting machines and updating tokens
Also updated versions for a couple dependencies to reflect recent
releases.
2014-06-15 09:56:46 -07:00
5e1664cfb0 Fixed a couple compile bugs, added get-machines 2014-06-07 11:44:38 -07:00
01933e6f63 Added token deletion 2014-06-07 11:16:06 -07:00
5b0b4f9a25 Can now retrieve tokens, and properly check for expired ones 2014-06-07 10:26:24 -07:00
d0bcde7ff7 Tokens can now be created and dates are serialized
Serialization of dates to and from the database is now being handled
internally by Monger. Additionally, POST requests to create Tokens is
functional, however there is not very strong validation to make sure all
the required keys are present.
2014-06-06 10:05:09 -07:00
12d490158d Began writing unit tests for user.clj
Will come back and look into using Midje in the future
2014-06-04 21:06:14 -07:00
fd4cd534da Users are now properly read from and written to db
Very poor error handling for sending incorrect data types or tokens
being invalid.
2014-06-04 20:01:35 -07:00
2239c055ba Can now put and retrieve users from the database
There are still hard-coded values, but at least the HTTP request doesn't
throw an error when you send a valid access token anymore.
2014-06-04 18:05:10 -07:00
a167982e55 Beginning re-write after hackathon. Not function 2014-06-03 19:35:41 -07:00
ec4209ed8b Split static files into separate repository 2014-05-20 18:23:48 -07:00
Spencer Thomas
d1d284d823 update poller to correctly make symbolic link, and suppress noisy output from cat 2014-05-18 12:54:15 -07:00
Spencer Thomas
b4c83c3658 Merge branch 'master' of github.com:dotdeploy/DotDeploy 2014-05-18 12:44:39 -07:00
Spencer Thomas
9daf2aed87 Adding fileMetaDataStore as an install dependency 2014-05-18 12:44:20 -07:00
782cf638ba Added half of two more things, but getting hacky and I'm tired 2014-05-18 12:42:46 -07:00
Spencer Thomas
50c71928f6 minor touch ups in preparation for deploying to production environment 2014-05-18 12:38:23 -07:00
Spencer Thomas
7b6f8c7019 Access token is one of the most important parts of the install script. Adding it. 2014-05-18 11:56:07 -07:00
Spencer Thomas
c3b22d400c Remove sending of sha5sum in http requests, + comment about future direction of wget support 2014-05-18 11:55:17 -07:00
Spencer Thomas
8d10256928 function to determine if a fileId's latest revision differs from an incoming revision 2014-05-18 11:54:27 -07:00
Spencer Thomas
cc74ab3db9 adding in dispatch methods to main dotdeploy client 2014-05-18 11:53:27 -07:00
Spencer Thomas
3e455591a5 Merge branch 'master' of github.com:dotdeploy/DotDeploy 2014-05-18 11:50:01 -07:00
Spencer Thomas
2f3ce1838d updating local change detection for poller 2014-05-18 11:49:49 -07:00
Christopher Gilbert
ff2e5e1295 Delete files if no longer used. 2014-05-18 11:02:57 -07:00
Spencer Thomas
80bab1b533 Merge branch 'master' of github.com:dotdeploy/DotDeploy 2014-05-18 10:59:11 -07:00
Spencer Thomas
084d6c1b06 committing changes before pull to assist merge 2014-05-18 10:58:57 -07:00
Christopher Gilbert
0c385a83ac restore originals upon deletion 2014-05-18 10:56:54 -07:00
Christopher Gilbert
39f7898c9f Merge remote-tracking branch 'origin/master' 2014-05-18 10:46:18 -07:00
Christopher Gilbert
159c6d72a9 restore originals upon deletion 2014-05-18 10:45:55 -07:00
Christopher Gilbert
88e9d419a0 restore originals upon deletion 2014-05-18 10:45:07 -07:00
Ansel Santosa
733655f854 Merge branch 'master' of https://github.com/dotdeploy/DotDeploy 2014-05-18 10:42:09 -07:00
Ansel Santosa
0afe171324 more stuff 2014-05-18 10:42:00 -07:00
da2108bb70 Updating files now possible from site API 2014-05-18 09:19:36 -07:00
Spencer Thomas
a815f30b6b sha5sum -> shasum 2014-05-18 08:29:16 -07:00
Spencer Thomas
ab76ad3d5b Merge branch 'master' of github.com:dotdeploy/DotDeploy 2014-05-18 08:02:53 -07:00
Spencer Thomas
f7ebf1317f Poller reads a manifest file, determines whether to update, add, or exit on conflict for all files in manifest 2014-05-18 08:01:53 -07:00
1a5c558690 Getting user from site now includes a list of all profiles 2014-05-18 07:35:12 -07:00
Ansel Santosa
29a97986ca Merge branch 'master' of https://github.com/dotdeploy/DotDeploy 2014-05-18 07:21:44 -07:00
Ansel Santosa
52110e2596 File editing and install 2014-05-18 07:21:39 -07:00
6cef800521 Tokens are able to be created and used 2014-05-18 06:50:40 -07:00
Spencer Thomas
cf724066a9 Explicitly import libs from the main dotdeploy application 2014-05-18 03:44:47 -07:00
Spencer Thomas
5ae638c395 Updating file paths referenced in install.sh 2014-05-18 03:42:33 -07:00
Spencer Thomas
102728dcc6 Re-adding poller 2014-05-18 03:41:32 -07:00
Spencer Thomas
76f60063c5 Merge branch 'master' of github.com:dotdeploy/DotDeploy 2014-05-18 03:32:08 -07:00
Spencer Thomas
94713122a2 add script for retrieving metadata on files 2014-05-18 03:31:37 -07:00
Spencer Thomas
203d748208 fix httpclient's post file syntax 2014-05-18 03:31:12 -07:00