* 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 |
---|---|---|
.. | ||
avatar | Loading commit data... | |
datasource | Loading commit data... | |
dtos | Loading commit data... | |
pluginproxy | Loading commit data... | |
routing | Loading commit data... | |
static | Loading commit data... | |
admin.go | Loading commit data... | |
admin_provisioning.go | Loading commit data... | |
admin_users.go | Loading commit data... | |
admin_users_test.go | Loading commit data... | |
alerting.go | Loading commit data... | |
alerting_test.go | Loading commit data... | |
annotations.go | Loading commit data... | |
annotations_test.go | Loading commit data... | |
api.go | Loading commit data... | |
apikey.go | Loading commit data... | |
app_routes.go | Loading commit data... | |
basic_auth.go | Loading commit data... | |
basic_auth_test.go | Loading commit data... | |
common.go | Loading commit data... | |
common_test.go | Loading commit data... | |
dashboard.go | Loading commit data... | |
dashboard_permission.go | Loading commit data... | |
dashboard_permission_test.go | Loading commit data... | |
dashboard_snapshot.go | Loading commit data... | |
dashboard_snapshot_test.go | Loading commit data... | |
dashboard_test.go | Loading commit data... | |
dataproxy.go | Loading commit data... | |
dataproxy_test.go | Loading commit data... | |
datasources.go | Loading commit data... | |
datasources_test.go | Loading commit data... | |
folder.go | Loading commit data... | |
folder_permission.go | Loading commit data... | |
folder_permission_test.go | Loading commit data... | |
folder_test.go | Loading commit data... | |
frontendsettings.go | Loading commit data... | |
frontendsettings_test.go | Loading commit data... | |
grafana_com_proxy.go | Loading commit data... | |
http_server.go | Loading commit data... | |
http_server_test.go | Loading commit data... | |
index.go | Loading commit data... | |
ldap_debug.go | Loading commit data... | |
ldap_debug_test.go | Loading commit data... | |
login.go | Loading commit data... | |
login_oauth.go | Loading commit data... | |
login_test.go | Loading commit data... | |
metrics.go | Loading commit data... | |
ngalert.go | Loading commit data... | |
org.go | Loading commit data... | |
org_invite.go | Loading commit data... | |
org_users.go | Loading commit data... | |
password.go | Loading commit data... | |
playlist.go | Loading commit data... | |
playlist_play.go | Loading commit data... | |
plugins.go | Loading commit data... | |
preferences.go | Loading commit data... | |
quota.go | Loading commit data... | |
render.go | Loading commit data... | |
search.go | Loading commit data... | |
short_url.go | Loading commit data... | |
signup.go | Loading commit data... | |
stars.go | Loading commit data... | |
team.go | Loading commit data... | |
team_members.go | Loading commit data... | |
team_test.go | Loading commit data... | |
user.go | Loading commit data... | |
user_test.go | Loading commit data... | |
user_token.go | Loading commit data... | |
user_token_test.go | Loading commit data... |