Derek Schmidt
89bfd8756c
Remove unsed template
2019-02-15 11:59:08 -07:00
Derek Schmidt
02ea66c2b1
Fix button hide when not in browse page
2019-02-15 11:58:36 -07:00
Derek Schmidt
650421695c
Return 404 if trying to upload to non-existant directory
2019-02-15 11:46:45 -07:00
Derek Schmidt
00482e29f2
Fix small bugs in upload page
2018-09-12 16:38:52 -07:00
Derek Schmidt
25ca7bb9bd
*snort*
2018-09-12 13:08:31 -07:00
Derek Schmidt
1bb3e59a46
Update readme for bower deps
2018-09-08 17:30:50 -07:00
Derek Schmidt
f2f215acda
Use abspath over realpath
...
Symbolic links are handy dang it
2018-09-08 17:30:18 -07:00
Derek Schmidt
7e507748c4
Remove extra padding on login_form
...
Ok this one was my fault
2018-09-08 17:24:13 -07:00
Derek Schmidt
ce29702f50
Remove extra padding on referal form
...
Heckin chrome devtools
2018-09-08 17:18:05 -07:00
Derek Schmidt
c549e1c942
Fix urlencoded folder walk vulnerability + code cleanup
...
+ Check paths before joining them
+ use abort rather than early returns with error templates
2018-09-08 17:16:41 -07:00
Derek Schmidt
93d6c235f5
Implemented upload page
...
And all the polymer bits that come with that
2018-09-08 17:12:07 -07:00
Derek Schmidt
4d7a81c0c9
Replace placeholder headerbar text
2018-09-08 13:42:20 -07:00
Derek Schmidt
12f086c650
Fix bad security bug
...
Make sure user actually has the premissions to grant these things
2018-09-08 13:39:22 -07:00
Derek Schmidt
680e52a6ab
Fix bug with 403's causing inifite redirect loops
2018-09-08 13:03:17 -07:00
Derek Schmidt
d8a9565dc3
Misc improvements
...
1. Customise login_required and needs_refresh messages
2. Add titles (hover text) to buttons
3. Fade out flashed messages (in case they overflow the screen)
2018-09-08 12:51:04 -07:00
Derek Schmidt
8add5cefda
Fixed bug where referals didnt carry user args over
2018-09-08 12:48:50 -07:00
Derek Schmidt
58bd4895ce
Implemented referal creation flow
2018-09-08 12:48:10 -07:00
Derek Schmidt
e4b0f4cff8
Added new user permissions into db
...
can_refer: Can create referal codes
can_upload: Can upload new files
can_manage: Can perform administrative duties
All false by default except for user 'admin'
2018-09-08 10:55:46 -07:00
Derek Schmidt
c001137094
Add eventlet as a dependency
...
You're not going to want to do shareing of large files
with synchronous workers, timeouts galore
2018-08-24 13:24:26 -07:00
Derek Schmidt
838637de55
Fix "SERVE_DIR" config
2018-08-24 13:22:44 -07:00
Derek Schmidt
aa0921aae6
Fix redirects when hosted under non-root
2018-08-24 13:22:08 -07:00
Derek Schmidt
333dbf9faa
Implement basic ratelimiting
2018-07-26 14:30:23 -07:00
Derek Schmidt
d729ab8ef0
Fix various css bugs
...
Fixes
+ Responsive layout down to 320px width
+ waifu drawing over file list
+ filename wrapping
2018-07-26 13:45:19 -07:00
Derek Schmidt
d68be11789
Add a readme
2018-07-26 12:22:40 -07:00
Derek Schmidt
b793963d8f
Add setup script for easier first-time deployment
2018-07-26 12:21:48 -07:00
Derek Schmidt
76509445ff
Use config.json instead of settings.cfg
2018-07-26 12:17:49 -07:00
Derek Schmidt
c7a9639a29
Change referal key from uuid to urlsafe token via secrets module
...
Also, added compare_type=True to migration env
to catch changes like this in the future
Other than that the title says it all buddy boi
2018-06-03 16:34:02 -07:00
Derek Schmidt
e90f6fb215
Add responsive button / header bar
2018-06-03 16:34:00 -07:00
Derek Schmidt
3e5cb113a7
Use web-font for icons rather than svgs
2018-06-03 16:33:58 -07:00
Derek Schmidt
cee989e772
Slighly improve #waifu layout hack
...
still a hack, but
2018-06-03 16:33:56 -07:00
Derek Schmidt
edbf1bff5c
Add user signup flow via user referal
...
gonna need a default user for this to work
2018-06-03 16:33:55 -07:00
Derek Schmidt
83b386390f
Fix css layout and text bugs
2018-06-03 16:33:54 -07:00
Derek Schmidt
5662757981
Implement flashes
...
vastly improves UX bc previously the user would
just have no idea what the hell was going on lol
2018-06-03 16:33:52 -07:00
Derek Schmidt
3a32127ba2
User login / logout flow
2018-06-03 16:33:51 -07:00
Derek Schmidt
6a63b32f9b
Add user model
...
settings are no longer tracked due to containing a secret key.
get it from the env maybe?
2018-06-03 16:33:47 -07:00
Derek Schmidt
555f4f57e9
Add db capibilities
...
We can store and retrieve stuff now. Nice
2018-06-03 16:33:43 -07:00
Derek Schmidt
4db1aa8b21
Template cleanup
...
Things are more seperated now
which should make extention easier
2018-06-03 16:30:12 -07:00
Derek Schmidt
d0cbe734ce
Code cleanup
...
No need for a dumb APPLICATION_ROOT var,
url_for can handle that on its own
2018-06-03 16:30:08 -07:00
Derek Schmidt
4a61770bda
Initial commit
2018-06-03 16:29:57 -07:00