Releases: adhocore/urlsh
Releases · adhocore/urlsh
With Spinner
What's Changed
Full Changelog: v1.0.0...v1.0.1
Version 1.0.0 (First Stable)
Features
- Add yahoo openid provider (@adhocore) 5549179
- Add microsoft (Jitendra Adhikari) 6f30dd5
- Register goic middleware (Jitendra Adhikari) 93150d9
- Middleware: Add recover middleware (Jitendra Adhikari) 2b80bdc
- Cmd.urlshc: Add urlshc command (Jitendra Adhikari) 0840fe3
- Service.url: Check url reach (host) if configured (Jitendra Adhikari) 769303c
- Request.url: Append host to input (Jitendra Adhikari) ea8d41d
- Tmpl: Toggle check on copy from history row (Jitendra Adhikari) 93d47cd
- Add /banner route and resource for og:image (Jitendra Adhikari) 9cea00f
- Tmpl: Add og tags (Jitendra Adhikari) 24238cd
- *****: Add favicon and robots router and template (Jitendra Adhikari) f24ea69
- Tmpl: Add copy btn in history row, simplify dynamic row (Jitendra Adhikari) 272fe11
- Tmpl: Add history table, rename copy button (Jitendra Adhikari) cffbc7a
- Controller: Show UI in homepage (Jitendra Adhikari) 17596cc
- Tmpl: Add home html template (Jitendra Adhikari) 6083ff0
- Import.service: Make cache deactivation async, increment hits to compare threshold (Jitendra Adhikari) 5df0b30
- Controller: Make hits increment async (Jitendra Adhikari) 6a42a0f
- Service.url: Make cache deactivation async (Jitendra Adhikari) 485c6fa
- Controller: Add x-cached header for cached data (Jitendra Adhikari) a7c85e5
- Service.client: Lookup return flag to signify cached value (Jitendra Adhikari) eafedea
- Cache: Add redis cache with lookup, persist and deactivate feature (Jitendra Adhikari) e85a297
- Controller: Add endpoint to serve short url (Jitendra Adhikari) 2ffe1d6
- Service.url: Add service to lookup origin & inc hits by shortcode (Jitendra Adhikari) c2807c2
- Common: Add shortcode regex (Jitendra Adhikari) 1a0eed6
- Router: Register short url delete endpoint (Jitendra Adhikari) c978a13
- Controller: Add delete endpoint (Jitendra Adhikari) 9ab63ed
- Common: Add no short code error (Jitendra Adhikari) 9e60505
- Service.url: Add service to delete short url (Jitendra Adhikari) 2beece1
- Common: Add auth token errors (Jitendra Adhikari) 1e388a2
- Middleware: Add auth middleware to validate header token for admin (Jitendra Adhikari) fa7781c
- Router: Register admin list/search controller (Jitendra Adhikari) a2eff44
- Controller: Add admin list/search endpoint controller (Jitendra Adhikari) ff7987d
- Common: Add data not found error (Jitendra Adhikari) 29e29d7
- Service.url: Add service to list urls by filter for admin (Jitendra Adhikari) ad056f0
- Request: Add UrlFilter definition with offset getter for search (Jitendra Adhikari) 8e2ced5
- Response.body: Add Merge helper (Jitendra Adhikari) 5245e72
- Controller: Add client api controller for short url (Jitendra Adhikari) ff2be5d
- Common: Add short code length constant (Jitendra Adhikari) 07bb669
- Service: Add short url creation service (Jitendra Adhikari) 1fd622e
- Request: Add short url create request struct with validator (Jitendra Adhikari) 53e699c
- Common: Add errors to be used in validation throughout (Jitendra Adhikari) 667dbca
- Util: Add random length helper util (Jitendra Adhikari) 410ed52
- Orm: Add postgres connection handler for gorm (Jitendra Adhikari) 0b8a769
- Add DateLayout const, use time.UTC instead of common.UTC (Jitendra Adhikari) 8e014b5
- Model: Add url model (Jitendra Adhikari) dda5a92
- Model: Add keyword model (Jitendra Adhikari) 88b5ecd
- Controller: Add not found handler (Jitendra Adhikari) 06c0041
- Router: Add route registrar with multi endpoints handler (Jitendra Adhikari) 185a98e
- Main: Listen and serve request, register default route (Jitendra Adhikari) 6ac7282
- Controller: Add frontend controller (Jitendra Adhikari) 8d0ff88
- Response: Add json response writer (Jitendra Adhikari) 265872f
- Init module (Jitendra Adhikari) 796e171
Bug Fixes
- Typo (Jitendra Adhikari) 691a3c7
- Service.url: Use generic error (Jitendra Adhikari) a98fe7a
- Cache: Redis uses different env (Jitendra Adhikari) 179c51f
- Request: Validate url with regex (Jitendra Adhikari) 0ba06fc
- Request: Exclude pattern (Jitendra Adhikari) 604c8cb
- Tmpl: Use short href (Jitendra Adhikari) 167edf0
- Request: Blacklist local urls (Jitendra Adhikari) fa7eb8b
- Tmpl: Hide copy btn on error (Jitendra Adhikari) b83105a
- Cache: User h is not usable (Jitendra Adhikari) 9a52035
- Init-db: Make executable (Jitendra Adhikari) 4dccb36
- Main: Use port dynamically (Jitendra Adhikari) 04e7272
- Cache.redis: A;ways populate cached model (Jitendra Adhikari) 9c6a30e
- Service.url: Ignore empty short code early (Jitendra Adhikari) 7168e83
- Service.url: Select deleted field (Jitendra Adhikari) 84bdc5d
- Service.url: When checking dupe, exclude deleted (Jitendra Adhikari) f4c3f59
- Middleware: Use req.URL.Path for portability (Jitendra Adhikari) f05c70b
Internal Refactors
- Middleware: Switch type usage (Jitendra Adhikari) 25d190a
- Router: Wrap handler with recover (Jitendra Adhikari) 3b4aa88
- Orm: Use panic (Jitendra Adhikari) 6a73c42
- Cmd.urlshc: Precheck missing url opt (Jitendra Adhikari) e9e13f8
- Move tmpl/ to assets/ (Jitendra Adhikari) 4cd4444
- Service.url: Make validateURLInput public (Jitendra Adhikari) 281f830
- Validate url len, keyword char, rephrase url filter error msg (Jitendra Adhikari) e08c0e7
- *****: Use 2000 as default port (Jitendra Adhikari) 9703bd3
- Tmpl: Add source code url, fix per w3c validator (Jitendra Adhikari) 1154b53
- Use PORT instead of APP_PORT (Jitendra Adhikari) 9bc61b6
...
Version v0.2.0 (Current stable)
Bump of v0.1.2
Version v0.1.2
Features
- Middleware: Add recover middleware (Jitendra Adhikari) 3bcbcce
Internal Refactors
- Middleware: Switch type usage (Jitendra Adhikari) 624659e
- Router: Wrap handler with recover (Jitendra Adhikari) 17cd64d
- Orm: Use panic (Jitendra Adhikari) c16c881
Miscellaneous
- Common: Add server error (Jitendra Adhikari) b3cadf9
Builds
Version v0.1.1
Internal Refactors
- Cmd.urlshc: Precheck missing url opt (Jitendra Adhikari) 458d4cb
Version v0.1.0 (Initial stable)
v0.1.0 (2021-04-13)
Features
- Cmd.urlshc: Add urlshc command (Jitendra Adhikari) 7f30ea5
- Service.url: Check url reach (host) if configured (Jitendra Adhikari) ca97005
- Request.url: Append host to input (Jitendra Adhikari) 79c845c
- Tmpl: Toggle check on copy from history row (Jitendra Adhikari) 5833b70
- Add /banner route and resource for og:image (Jitendra Adhikari) ec7ed9c
- Tmpl: Add og tags (Jitendra Adhikari) f9f4a1d
- *****: Add favicon and robots router and template (Jitendra Adhikari) 72a55fa
- Tmpl: Add copy btn in history row, simplify dynamic row (Jitendra Adhikari) aa6bfdc
- Tmpl: Add history table, rename copy button (Jitendra Adhikari) e7367cb
- Controller: Show UI in homepage (Jitendra Adhikari) 3d1f396
- Tmpl: Add home html template (Jitendra Adhikari) 0fc94ad
- Import.service: Make cache deactivation async, increment hits to compare threshold (Jitendra Adhikari) 97fdfe3
- Controller: Make hits increment async (Jitendra Adhikari) 193af34
- Service.url: Make cache deactivation async (Jitendra Adhikari) bd6fb24
- Controller: Add x-cached header for cached data (Jitendra Adhikari) eadf345
- Service.client: Lookup return flag to signify cached value (Jitendra Adhikari) ce0ed85
- Cache: Add redis cache with lookup, persist and deactivate feature (Jitendra Adhikari) e781d68
- Controller: Add endpoint to serve short url (Jitendra Adhikari) df2d6a9
- Service.url: Add service to lookup origin & inc hits by shortcode (Jitendra Adhikari) 79ac77a
- Common: Add shortcode regex (Jitendra Adhikari) 040db1d
- Router: Register short url delete endpoint (Jitendra Adhikari) c12f42a
- Controller: Add delete endpoint (Jitendra Adhikari) 79455d4
- Common: Add no short code error (Jitendra Adhikari) 31e2f43
- Service.url: Add service to delete short url (Jitendra Adhikari) 24e8d7d
- Common: Add auth token errors (Jitendra Adhikari) e7fa252
- Middleware: Add auth middleware to validate header token for admin (Jitendra Adhikari) 11f06d9
- Router: Register admin list/search controller (Jitendra Adhikari) 7ec1ac1
- Controller: Add admin list/search endpoint controller (Jitendra Adhikari) 136666e
- Common: Add data not found error (Jitendra Adhikari) 98c1160
- Service.url: Add service to list urls by filter for admin (Jitendra Adhikari) be7bff1
- Request: Add UrlFilter definition with offset getter for search (Jitendra Adhikari) 70dc8d4
- Response.body: Add Merge helper (Jitendra Adhikari) e6f8e12
- Controller: Add client api controller for short url (Jitendra Adhikari) b729830
- Common: Add short code length constant (Jitendra Adhikari) 6c93eae
- Service: Add short url creation service (Jitendra Adhikari) ba6e13b
- Request: Add short url create request struct with validator (Jitendra Adhikari) d291da2
- Common: Add errors to be used in validation throughout (Jitendra Adhikari) dbf74f6
- Util: Add random length helper util (Jitendra Adhikari) dbbf1ad
- Orm: Add postgres connection handler for gorm (Jitendra Adhikari) aca8fc1
- Add DateLayout const, use time.UTC instead of common.UTC (Jitendra Adhikari) f8f53a8
- Model: Add url model (Jitendra Adhikari) 8f0af8a
- Model: Add keyword model (Jitendra Adhikari) 8462de3
- Controller: Add not found handler (Jitendra Adhikari) e8437d5
- Router: Add route registrar with multi endpoints handler (Jitendra Adhikari) 153a45a
- Main: Listen and serve request, register default route (Jitendra Adhikari) 1020674
- Controller: Add frontend controller (Jitendra Adhikari) 0955f36
- Response: Add json response writer (Jitendra Adhikari) 5894f71
- Init module (Jitendra Adhikari) 8e796d3
Bug Fixes
- Typo (Jitendra Adhikari) 4c11604
- Service.url: Use generic error (Jitendra Adhikari) 034ae99
- Cache: Redis uses different env (Jitendra Adhikari) 6038ced
- Request: Validate url with regex (Jitendra Adhikari) 3bc274c
- Request: Exclude pattern (Jitendra Adhikari) e27a8b8
- Tmpl: Use short href (Jitendra Adhikari) d1c067e
- Request: Blacklist local urls (Jitendra Adhikari) d37cfc5
- Tmpl: Hide copy btn on error (Jitendra Adhikari) 6e08e41
- Cache: User h is not usable (Jitendra Adhikari) ef8e844
- Init-db: Make executable (Jitendra Adhikari) 48ca0cf
- Main: Use port dynamically (Jitendra Adhikari) 5233f98
- Cache.redis: A;ways populate cached model (Jitendra Adhikari) e7f265d
- Service.url: Ignore empty short code early (Jitendra Adhikari) d6439aa
- Service.url: Select deleted field (Jitendra Adhikari) 998d8c3
- Service.url: When checking dupe, exclude deleted (Jitendra Adhikari) dc99646
- Middleware: Use req.URL.Path for portability (Jitendra Adhikari) 860b16d
Internal Refactors
- Move tmpl/ to assets/ (Jitendra Adhikari) 65bc2a0
- Service.url: Make validateURLInput public (Jitendra Adhikari) 85c9194
- Validate url len, keyword char, rephrase url filter error msg (Jitendra Adhikari) 6bc3661
- *****: Use 2000 as default port (Jitendra Adhikari) 01f58ab
- Tmpl: Add source code url, fix per w3c validator (Jitendra Adhikari) 2c0a8c6
- Use PORT instead of APP_PORT (Jitendra Adhikari) 5c014f9
- Orm,cache: Use DATABASE_URL and REDIS_URL env instead (Jitendra Adhikari) 8910662
- *****: Use 301 permanent redirect instead (Jitendra Adhikari) 2619adc
- Postman: Move "/" to "/status" (Jitendra Adhikari) 42f5da3
- Router: Move "/" to "/status" (Jitendra Adhikari) 9ee7a87
- Cache.redis: Use pool instead (Jitendra Adhikari) cc24a94
- Cache: Support redis user/pass (Jitendra Adhikari) 0ad1754
- Controller: Adapt to changed service layer (with cache) (Jitendra Adhi...