Commit graph

118 commits

Author SHA1 Message Date
gmemstr ba9c7c7a5d Reimplemented AddUser() function to use SQLite3
Aha! Screw you JSON headaches! I have banished thee to the realm of impossibility, and turn to the promised land of SQLite3, where the sky is blue and the grass long.

...or something. Rewrite AddUser() to insert into database, frontend soon.
2017-10-25 21:34:15 -07:00
gmemstr e457f58b6d Login moved to using SQLite3 storage
SQLite3 should make future features like multiple publishers and user permissions _much_ easier to manage - JSON in Go is a pain sometimes. Updated godep file as required.
2017-10-25 21:12:40 -07:00
gmemstr 84992b73eb Add password hashing to loginHandler
Will create user management page for admins soon as well. This will be fine for the time being though -> https://www.dailycred.com/article/bcrypt-calculator for generating hashes.
2017-10-09 17:34:04 -07:00
Gabriel Simmer ef80d2bc20 Merge pull request #14 from gmemstr/vue-admin
Port Admin interface to vue.js SPA
2017-10-09 16:52:26 -07:00
gmemstr 2459332f3c Remove roaming files
Artifcacts from bug when implementing edit route.
2017-10-08 19:28:00 -07:00
gmemstr 2c1fbe460a Add edit route
Added and tested edit route. Also removed Godep folder (at least for now) to see how it impacts installation.
2017-10-08 19:24:38 -07:00
gmemstr 72b90d8ddc Fully implement episode editing
TODO is implement proper function into backend but frontend rendering works as intended.
2017-10-08 17:57:58 -07:00
Gabriel Simmer 182a381f23 Merge pull request #13 from gmemstr/master
Update Dockerfile
2017-10-08 13:10:23 -07:00
Gabriel Simmer 791457be81 Merge pull request #12 from gmemstr/docker-fix
Docker fix
2017-10-08 13:09:28 -07:00
gmemstr e49eb39043 Fix Docker image not running correctly
Was not using the proper filename/path
2017-10-08 11:23:23 -07:00
gmemstr 6795c5cd0a Starting on episode editing interface 2017-10-08 10:54:48 -07:00
Gabriel Simmer 1c836ccaa9 Merge pull request #11 from gmemstr/master
Update TravisCI in vue-admin branch
2017-10-07 17:17:26 -07:00
Gabriel Simmer f8d6a00065 Merge pull request #10 from gmemstr/docker
Docker in TravisCI
2017-10-07 17:16:38 -07:00
gmemstr 72ec4f4f10 Remove --rm and add grep 2017-10-07 17:11:16 -07:00
gmemstr 62994a6e74 Remove grep 2017-10-07 17:07:37 -07:00
gmemstr e003e8858f Attempted fix #203 2017-10-07 17:04:14 -07:00
gmemstr 0258eaa6e5 Remove quiet option to grep 2017-10-07 17:00:48 -07:00
gmemstr c3dbe6e33a Add grep 2017-10-07 16:52:58 -07:00
gmemstr 88260d60db add -a 2017-10-07 16:46:20 -07:00
gmemstr 9c9becdef9 docker ps 2017-10-07 16:43:06 -07:00
gmemstr 17e7b63270 Move docker out of matrix 2017-10-07 16:29:47 -07:00
gmemstr 769e67f36a Move all of script to matrix 2017-10-07 16:26:23 -07:00
gmemstr 3e14003142 Remove set +/-e 2017-10-07 16:04:03 -07:00
Gabriel Simmer fdc9042a2b Merge pull request #8 from iblancasa/master
Fix some typos
2017-10-07 15:20:02 -07:00
Israel Blancas 856bd9faec Fix some typos 2017-10-08 00:02:57 +02:00
gmemstr 4c50850975 Docker: Fix typo 2017-10-07 14:25:04 -07:00
gmemstr 2c02984a06 add debug ls -al 2017-10-07 14:19:35 -07:00
gmemstr 05ddfc1ac6 Add gopath back 2017-10-07 14:16:35 -07:00
gmemstr 6d239a8602 Change make to go build 2017-10-07 14:10:46 -07:00
gmemstr 7bf3acda94 Remove GOPATH and add proper path for godep 2017-10-07 14:06:39 -07:00
gmemstr 580be8f2fd Add GOPATH script 2017-10-07 13:59:01 -07:00
gmemstr d4e8fdd93e Testing new dockerfile 2017-10-07 13:52:42 -07:00
Gabriel Simmer 23cc4fa5d0 Merge pull request #7 from circa10a/master
Update .travis.yml
2017-10-07 13:46:02 -07:00
Caleb Lemoine ad6fcb5871 Update .travis.yml 2017-10-07 14:43:57 -05:00
Caleb Lemoine 87f6569e10 Update .travis.yml 2017-10-07 14:39:52 -05:00
Caleb Lemoine 6defb5b75b Update .travis.yml 2017-10-07 11:42:25 -05:00
Caleb Lemoine 7a88b1436d Update .travis.yml 2017-10-07 11:21:50 -05:00
gmemstr aaddd40956 Add basic episode viewing page
Will have functions for removing episodes
2017-10-06 15:06:04 -07:00
gmemstr ad698b7801 Move current page to template. 2017-10-06 14:13:30 -07:00
gmemstr 454006b8e5 Move to vue-router
Implemented vue-router w/ data fetching, plan to make it lazy at some point.
2017-10-06 13:24:05 -07:00
gmemstr 09f8ce44df Starting work on Vue.js-based admin interface
Depending on my experience may port primary frontend to Vue.js as well. Really bad but I hope I can improve it with time, still learning Vue.js :)
2017-10-06 12:49:11 -07:00
Gabriel Simmer 2e748dd5a4 Merge pull request #5 from gmemstr/auth-refac
Authentication rewrite and refactor
2017-10-05 21:25:45 -07:00
gmemstr 0d5d836644 Fix env variable placement 2017-10-05 21:22:18 -07:00
gmemstr 6f2c40f22a Update godeps & add env variable for cookie secret 2017-10-05 21:16:03 -07:00
gmemstr 6b2774d9c2 Removed configreader.go and renamed ishanjain28/pogo -> gmemstr/pogo
Configreader was largely unused in new refactor so removed it altogether.
2017-10-05 12:27:55 -07:00
Gabriel Simmer 8b0980b5f6 Merge pull request #4 from ishanjain28/master
Added Cookie based sessions, Refactored and added Login Page
2017-10-05 07:14:34 -07:00
Ishan Jain ea9c64e993 ReAdding deps in vendor/ 2017-10-05 12:18:01 +05:30
Ishan Jain 0a2e87e5cc Updated makefile 2017-10-05 12:11:55 +05:30
Ishan Jain 183b6ec6e2 Removed folders from vendor, Added vendor.json 2017-10-05 12:06:07 +05:30
Ishan Jain cc12ddc46d Fixed a bug in redirection if a session already exists 2017-10-05 11:47:26 +05:30