* intial frontend resolution/redirection logic * backend scaffolding * enough of the frontend to actually test end to end * bugfixes * add tests * cleanup * explore too hard for now * fix build * Docs: add docs * FE test * redirect directly from backend * validate incoming uids * add last_seen_at * format documentation * more documentation feedback * very shaky migration of get route to middleware * persist unix timestamps * add id, orgId to table * fixes for orgId scoping * whoops forgot the middleware * only redirect to absolute URLs under the AppUrl domain * move lookup route to /goto/:uid, stop manually setting 404 response code * renaming things according to PR feedback * tricky deletion * sneaky readd * fix test * more BE renaming * FE updates -- no more @ts-ignore hacking :) and accounting for subpath * Simplify code Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Short URLs: Drop usage of bus Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * ShortURLService: Make injectable Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Rename file Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com> * Add handling of url parsing and creating of full shortURL to backend * Update test, remove unused imports * Update pkg/api/short_urls.go Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * Add correct import * Pass context to short url service * Remove not needed error log * Rename dto and field to denote URL rather than path * Update api docs based on feedback/suggestion * Rename files to singular * Revert to send relative path to backend * Fixes after review * Return dto when creating short URL that includes the full url Use full url to provide shorten URL to the user * Fix after review * Fix relative url path when creating new short url Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Ivana <ivana.huckova@gmail.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Name |
Last commit
|
Last Update |
---|---|---|
.circleci | Loading commit data... | |
.github | Loading commit data... | |
conf | Loading commit data... | |
contribute | Loading commit data... | |
devenv | Loading commit data... | |
docs | Loading commit data... | |
e2e | Loading commit data... | |
emails | Loading commit data... | |
packages | Loading commit data... | |
packaging | Loading commit data... | |
pkg | Loading commit data... | |
plugins-bundled | Loading commit data... | |
public | Loading commit data... | |
scripts | Loading commit data... | |
tools | Loading commit data... | |
.babelrc | Loading commit data... | |
.bra.toml | Loading commit data... | |
.browserslistrc | Loading commit data... | |
.dockerignore | Loading commit data... | |
.drone.star | Loading commit data... | |
.drone.yml | Loading commit data... | |
.editorconfig | Loading commit data... | |
.eslintignore | Loading commit data... | |
.eslintrc | Loading commit data... | |
.gitignore | Loading commit data... | |
.prettierignore | Loading commit data... | |
.prettierrc.js | Loading commit data... | |
CHANGELOG.md | Loading commit data... | |
CODE_OF_CONDUCT.md | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
Dockerfile | Loading commit data... | |
Dockerfile.ubuntu | Loading commit data... | |
GOVERNANCE.md | Loading commit data... | |
Gruntfile.js | Loading commit data... | |
ISSUE_TRIAGE.md | Loading commit data... | |
LICENSE | Loading commit data... | |
MAINTAINERS.md | Loading commit data... | |
Makefile | Loading commit data... | |
NOTICE.md | Loading commit data... | |
PLUGIN_DEV.md | Loading commit data... | |
README.md | Loading commit data... | |
ROADMAP.md | Loading commit data... | |
SECURITY.md | Loading commit data... | |
SUPPORT.md | Loading commit data... | |
UPGRADING_DEPENDENCIES.md | Loading commit data... | |
WORKFLOW.md | Loading commit data... | |
api-extractor.json | Loading commit data... | |
build.go | Loading commit data... | |
go.mod | Loading commit data... | |
go.sum | Loading commit data... | |
jest.config.js | Loading commit data... | |
latest.json | Loading commit data... | |
lerna.json | Loading commit data... | |
package.json | Loading commit data... | |
tsconfig.json | Loading commit data... | |
yarn.lock | Loading commit data... |