Commit graph

48 commits

Author SHA1 Message Date
Andreas Mieke 3106ddc796 WIP 2020-01-15 23:10:20 +01:00
Marvin Scholz 6c7c4146c8 Adapt for AniNite 2017 2017-08-18 10:13:45 +02:00
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 7090d5f8c6 Using govendor for dependencies 2017-06-16 00:24:22 +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
Andreas Mieke d1b91fcee3 Fix Instagram API
Instagram API working again, in question is for how long...
2017-05-07 16:50:13 +02:00
Andreas Mieke ee82fdf57e Fix snapchat movies
Snapchat movies are now handeled correctly.
2017-05-07 16:15:57 +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
Andreas Mieke a50018f64f Fixes foreign key 2017-01-21 00:00:18 +01:00
Andreas Mieke da5978ef7b Changes behaviour to find next page to parse on Instagram 2017-01-20 22:08:29 +01:00
Andreas Mieke 8c6dbd13f5 Changes instagram runner to parse only first page on first run 2017-01-20 22:07:54 +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
Andreas Mieke 0269f6eb1c Merge branch 'master' of git.1750studios.com:AniNite/SocialDragon 2017-01-20 03:09:12 +01:00
Andreas Mieke a97bfc7c14 Changes instagram parser to use their pagination
Limited to max 5 pages to avoid endless scanning on first start.
If the current page contains at least one media element not in
our database it will check the next page (max. 5 pages).
2017-01-20 03:07:44 +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
Andreas Mieke 01ba234ec2 Removes vendor from .gitignore 2017-01-19 01:56:51 +01:00
Marvin Scholz 9f03313d60 Add webserver (using gin) to socialdragon 2017-01-18 19:47:55 +01:00
Marvin Scholz 8a88af39a2 Add binaries to gitignore 2017-01-18 19:47:34 +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