Max Schmitt
3ebe9d042f
Refactored project layout ( fix : #109 ) ( #111 )
* Reworked project layout
* adjusted Makefile for new folder structure
* fixed path errors
* Fixed test import paths
* fixes
* only pushing image to the docker hub if the branch is master
8 years ago
memory
45a128713c
Look for X-Forwarded-Proto when constructing URLs ( #105 )
8 years ago
memory
fab091d75a
add healthcheck handling ( #106 )
Add a special path -- `/ok` that can be used as a healthcheck for e.g.
kubernetes or amazon ECS.
When not in debug mode, do not generate logs for the healthcheck path.
This requires implementing our own version of ginrus.Ginrus, as the
upstream one does not support the `notlogged` argument(s) that
gin.LoggerWithWriter has.
8 years ago
Max Schmitt
122783a385
Changed maxibanki to new mxschmitt username
8 years ago
Max Schmitt
9824676e7b
Fixed not working go ldflag
8 years ago
Max Schmitt
944f3e491f
Removed the bash info generation, now using ldflags
8 years ago
Max Schmitt
4efc23eda8
added boltdb storage unit testing
8 years ago
Max Schmitt
071c94b2d7
Abstracted boltdb as a storage interface ( fix #60 )
8 years ago
Max Schmitt
d8977aefa6
Fixed protected entry redirection ( fix #55 )
Now using 'StatusSeeOther' status code which changes POST to GET responses.
8 years ago
Max Schmitt
a974047394
Cleaned up handleAccess func ( fix #53 )
8 years ago
Max Schmitt
87c3ce5b1e
Integrated password protection for shortened links ( fix #30 )
8 years ago
Max Schmitt
96b06a8734
Added UseSSL config option and added deletion button to the recent URLs table
8 years ago
Max Schmitt
4b8193a81b
Integrated live visitor tracking: fix #5
8 years ago
Max Schmitt
ac05d6f036
Minor changes:
- Added recent shorted URLs listing
- Added visitor page of a shorted URL
#43
8 years ago
Max Schmitt
19141a78a0
Added unit tested and increased so the code coverage: fix #9
8 years ago
Max Schmitt
6a4eb7302f
Cleaned up code and integrated deletion handling: fix #10
8 years ago
Max Schmitt
437e314250
Integrated build infos into the binary: fix #37 and cleaned up
8 years ago
Max Schmitt
93574983cb
Added link expiration: closes #22
8 years ago
Max Schmitt
0d7a5e49e0
Aded show only the maintained oAuth providers in the frontend. Fix #41
8 years ago
Max Schmitt
3a7dde4223
- Added optional config file: fix #40
- Fixed go vet tests
- renamed config keys: fix #39
8 years ago
Max Schmitt
7b75be21e1
refactored main code
8 years ago
Max Schmitt
e5ac34903d
Cleaned up the oAuth stuff #23
8 years ago
Max Schmitt
dbdcfa0f68
Fix #25
8 years ago
Max Schmitt
3af1a1dae4
Fixed #31
8 years ago
Max Schmitt
33e9b01cce
Fixed unit tests and cleaned up createEntry
8 years ago
Max Schmitt
2b23263613
Fix #27
8 years ago
Max Schmitt
761cbdca15
changed iferr to short forms
8 years ago
Max Schmitt
59a1cb3c1c
Enhanced oAuth stuff:
- improved syntax when only error is retuned
- refactored frontend
8 years ago
Schmitt, Max
dd338d8138
Refactored and added more oAuth stuff
8 years ago