Marvin Scholz
30277ad5ac
Changes for AniNite 2017
2017-08-18 09:07:37 +02:00
Marvin Scholz
b68b824b06
Improve queue and websocket address
2017-08-18 09:07:37 +02:00
Andreas Mieke
6e482a2220
Change websocket library. This Fixes #6
2017-08-18 08:51:43 +02:00
Andreas Mieke
6bf22e4458
Changes to make the new linter happy
2017-05-22 00:53:22 +02:00
Andreas Mieke
3e9ddbf757
Add export images functionality
...
Adds functionality to export images on program close, it also deletes
the originals from the database and the content folder. It also deletes
the content folder itself. But before it does anything it asks the user
for confirmation and does nothing if anything else than a clear yes gets
reported (includes variations of 'No', empty responses and unknown
responses).
2017-05-21 22:54:42 +02:00
Andreas Mieke
be67ae464c
Add folder support
...
This adds folder support as image source, the folder must be specified
in the config file as "Folder" under group "Folder". Parsed images will
be deleted from the folder!
2017-05-13 23:29:56 +02:00
Marvin Scholz
952b8940c9
Refactor JS, handle WebSocket errors
2017-05-13 02:34:15 +02:00
Marvin Scholz
0b65c79a89
Do not hardcode websocket host
2017-05-13 02:14:20 +02:00
Marvin Scholz
7aed274e63
Video support and CSS improvements
...
Fix #1
2017-05-13 02:04:43 +02:00
Andreas Mieke
bcbb789cdd
Changing socket behaviour to not check for errors on read
...
This fixes #4 , which crashed the server due to the endless
reading-loop and therefore the possibility for the slice
content to change in another goroutine.
2017-05-13 02:00:56 +02:00
Marvin Scholz
6b31de0620
Implement Queue for Socialwall frontend
2017-05-12 14:04:36 +02:00
Marvin Scholz
429210c5b6
Adapt for HTL Ball 2017
2017-05-12 14:04:18 +02:00
Marvin Scholz
ce200bb784
Add approved snap list endpoint
2017-05-12 14:03:21 +02:00
Marvin Scholz
cd9b1b6ae3
Do no paginate the inbox
2017-01-21 00:05:31 +01:00
Andreas Mieke
b220dec55b
Adds pagination to admin sites, using the "id" query parameter
2017-01-21 00:00:31 +01:00
Marvin Scholz
d982446429
Disable modal animation
2017-01-20 21:53:17 +01:00
Andreas Mieke
8e600051b8
Only execute scrapers if username/hashtag is set
2017-01-20 18:18:19 +01:00
Andreas Mieke
4bf7475d61
Adds stats endpoint to get Item/User counts
2017-01-20 16:00:56 +01:00
Marvin Scholz
c77ba5c611
Handle keyboard shortcuts for modal popup
2017-01-20 15:45:12 +01:00
Marvin Scholz
360a80b795
Append websocket items only if proper mode is set
2017-01-20 15:45:02 +01:00
Marvin Scholz
135a04db24
Only enable buttons that make sense for current state
2017-01-20 15:44:22 +01:00
Marvin Scholz
336b820819
Show cursor even for a missing href
2017-01-20 15:43:29 +01:00
Marvin Scholz
dd418027e6
Do not depend on externally hosted iconfont
2017-01-20 14:41:48 +01:00
Marvin Scholz
ba5c769f81
Websocket, first stage
2017-01-20 05:15:04 +01:00
Andreas Mieke
19f31a1b4e
Fixes sorting behaviour of approved/rejected media
2017-01-20 05:13:18 +01:00
Marvin Scholz
7bf1cd4086
Remove item from page if state changed by user
2017-01-20 03:07:28 +01:00
Marvin Scholz
9e37f644c3
Improve loading and prevent flicker on load
2017-01-20 02:55:07 +01:00
Marvin Scholz
623bedfad0
Implement approve/reject of items in admin UI
2017-01-20 02:54:55 +01:00
Andreas Mieke
cf135a9af5
Adds endpoints to approve and reject media
2017-01-20 02:20:31 +01:00
Andreas Mieke
a9e71481da
Changes admin routes to use single template
...
Also removes unnecessary log outputs during the rendering of admin
pages.
2017-01-20 02:20:08 +01:00
Marvin Scholz
45e1d55e8a
Rework web frontend
...
This removes foundation, introduces vuejs and adds Material Design
2017-01-20 01:22:35 +01:00
Andreas Mieke
0dacd3645e
Adds websocket-callback for all Item
...
This commit adds a callback which gets called on every
saved Item in the database, which prints JSON of that
Item-object to all connected websocket clients.
2017-01-19 19:49:53 +01:00
Andreas Mieke
fc14acd76a
Started work on Admin interface and websockets implementation
2017-01-19 02:00:09 +01:00
Andreas Mieke
11c27edc23
Updates Foundation to version 6.3.0
2017-01-19 01:59:38 +01:00
Marvin Scholz
9f03313d60
Add webserver (using gin) to socialdragon
2017-01-18 19:47:55 +01:00
Andreas Mieke
0a69d4a9f2
Initial commit
...
Implemented getters for:
* Snapchat
* Twitter
* Instagram
Also implemented config and database modules.
2017-01-17 23:39:59 +01:00