Compare commits
	
		
			6 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| cad34d357b | |||
| 2056ce1e62 | |||
| 3b2c99c709 | |||
| f150821f0f | |||
| 5191ecea1e | |||
| 2141f62dca | 
							
								
								
									
										21
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								CHANGELOG.md
									
									
									
									
									
								
							| @@ -2,11 +2,32 @@ | |||||||
|  |  | ||||||
| All notable changes to this project will be documented in this file. Dates are displayed in UTC. | All notable changes to this project will be documented in this file. Dates are displayed in UTC. | ||||||
|  |  | ||||||
|  | #### [0.4.3](https://git.odit.services/lfk/selfservice/compare/0.4.2...0.4.3) | ||||||
|  |  | ||||||
|  | - 🚑 hotfix - Profile api path [`2056ce1`](https://git.odit.services/lfk/selfservice/commit/2056ce1e62a33e14bce5bdef5ea8cd38e039dc62) | ||||||
|  |  | ||||||
|  | #### [0.4.2](https://git.odit.services/lfk/selfservice/compare/0.4.1...0.4.2) | ||||||
|  |  | ||||||
|  | > 31 March 2021 | ||||||
|  |  | ||||||
|  | - 🚀Bumped version to v0.4.2 [`3b2c99c`](https://git.odit.services/lfk/selfservice/commit/3b2c99c7090de03aab12415342136460ddd735ee) | ||||||
|  | - 🚑 fix organization registration token [`f150821`](https://git.odit.services/lfk/selfservice/commit/f150821f0f60e4798b02ebf50588da61ccb51279) | ||||||
|  |  | ||||||
|  | #### [0.4.1](https://git.odit.services/lfk/selfservice/compare/0.4.0...0.4.1) | ||||||
|  |  | ||||||
|  | > 31 March 2021 | ||||||
|  |  | ||||||
|  | - Fixed registration routing [`2141f62`](https://git.odit.services/lfk/selfservice/commit/2141f62dca7ecb2be2579a7e79ffca513563c22a) | ||||||
|  | - 🚀Bumped version to v0.4.1 [`5191ece`](https://git.odit.services/lfk/selfservice/commit/5191ecea1eb3ac66a3f0c2743d43ff5b505061b7) | ||||||
|  |  | ||||||
| #### [0.4.0](https://git.odit.services/lfk/selfservice/compare/0.3.1...0.4.0) | #### [0.4.0](https://git.odit.services/lfk/selfservice/compare/0.3.1...0.4.0) | ||||||
|  |  | ||||||
|  | > 31 March 2021 | ||||||
|  |  | ||||||
| - Merge pull request 'bugfix/27-route-matching' (#28) from bugfix/27-route-matching into dev [`#27`](https://git.odit.services/lfk/selfservice/issues/27) | - Merge pull request 'bugfix/27-route-matching' (#28) from bugfix/27-route-matching into dev [`#27`](https://git.odit.services/lfk/selfservice/issues/27) | ||||||
| - added missing routes [`f603e53`](https://git.odit.services/lfk/selfservice/commit/f603e531512a2245ea2fe41304eb039080bcba28) | - added missing routes [`f603e53`](https://git.odit.services/lfk/selfservice/commit/f603e531512a2245ea2fe41304eb039080bcba28) | ||||||
| - added env config instructions [`ba604f7`](https://git.odit.services/lfk/selfservice/commit/ba604f77e9ce770e60f032cf393a5987a0401fbe) | - added env config instructions [`ba604f7`](https://git.odit.services/lfk/selfservice/commit/ba604f77e9ce770e60f032cf393a5987a0401fbe) | ||||||
|  | - 🚀Bumped version to v0.4.0 [`149fbdf`](https://git.odit.services/lfk/selfservice/commit/149fbdf58180d1af33f9741d9076df0bb1591130) | ||||||
| - Home - route fixes [`c178932`](https://git.odit.services/lfk/selfservice/commit/c178932d943e08168fa6be39eb0a1d7e4a25824a) | - Home - route fixes [`c178932`](https://git.odit.services/lfk/selfservice/commit/c178932d943e08168fa6be39eb0a1d7e4a25824a) | ||||||
| - route fix for favicon + background [`106bf4c`](https://git.odit.services/lfk/selfservice/commit/106bf4c0ff07fe847f98aa250230f2a272f55a04) | - route fix for favicon + background [`106bf4c`](https://git.odit.services/lfk/selfservice/commit/106bf4c0ff07fe847f98aa250230f2a272f55a04) | ||||||
| - favicon fix [`63d9ee2`](https://git.odit.services/lfk/selfservice/commit/63d9ee2f867e42ecd23ca1d48d59b6deb7458d76) | - favicon fix [`63d9ee2`](https://git.odit.services/lfk/selfservice/commit/63d9ee2f867e42ecd23ca1d48d59b6deb7458d76) | ||||||
|   | |||||||
| @@ -7,9 +7,16 @@ http { | |||||||
|         error_page 404 /index.html; |         error_page 404 /index.html; | ||||||
|         root /usr/share/nginx/html; |         root /usr/share/nginx/html; | ||||||
|         location / { |         location / { | ||||||
|  |             rewrite /register/(.*) /$1  break; | ||||||
|  |             rewrite /profile/(.*) /$1  break; | ||||||
|  |  | ||||||
|             try_files $uri $uri/ /index.html; |             try_files $uri $uri/ /index.html; | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         location ~* \.(?:ico|css|gif|jpe?g|png)$ { |         location ~* \.(?:ico|css|gif|jpe?g|png)$ { | ||||||
|  |             rewrite /register/(.*) /$1  break; | ||||||
|  |             rewrite /profile/(.*) /$1  break; | ||||||
|  |  | ||||||
|             expires 1y; |             expires 1y; | ||||||
|             add_header Pragma public; |             add_header Pragma public; | ||||||
|             add_header Cache-Control "public"; |             add_header Cache-Control "public"; | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| { | { | ||||||
| 	"name": "@odit/lfk-selfservice", | 	"name": "@odit/lfk-selfservice", | ||||||
| 	"version": "0.4.0", | 	"version": "0.4.3", | ||||||
| 	"scripts": { | 	"scripts": { | ||||||
| 		"dev": "vite", | 		"dev": "vite", | ||||||
| 		"build": "vite build", | 		"build": "vite build", | ||||||
|   | |||||||
| @@ -11,10 +11,10 @@ | |||||||
|         <div class="mt-6 sm:flex place-content-center"> |         <div class="mt-6 sm:flex place-content-center"> | ||||||
|           <a |           <a | ||||||
|             class="w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-gray-900 bg-white shadow-sm hover:text-gray-600 focus:outline-none focus:text-gray-600 transition ease-in-out duration-150 xl:text-lg xl:py-4" |             class="w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-gray-900 bg-white shadow-sm hover:text-gray-600 focus:outline-none focus:text-gray-600 transition ease-in-out duration-150 xl:text-lg xl:py-4" | ||||||
|             href="./register/" |             href="./register" | ||||||
|           >{{ $t('register_now') }}</a> |           >{{ $t('register_now') }}</a> | ||||||
|           <a |           <a | ||||||
|             href="./profile/" |             href="./profile" | ||||||
|             class="mt-4 sm:ml-4 sm:mt-0 w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-white bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-none focus:bg-gray-700 transition ease-in-out duration-150 xl:text-lg xl:py-4" |             class="mt-4 sm:ml-4 sm:mt-0 w-full sm:w-auto inline-flex px-6 py-3 border border-transparent text-base font-semibold rounded-md text-white bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-none focus:bg-gray-700 transition ease-in-out duration-150 xl:text-lg xl:py-4" | ||||||
|           >{{ $t('view_my_data') }}</a> |           >{{ $t('view_my_data') }}</a> | ||||||
|         </div> |         </div> | ||||||
|   | |||||||
| @@ -184,7 +184,7 @@ const props = defineProps({ | |||||||
|   token: String |   token: String | ||||||
| }) | }) | ||||||
| const accesstoken = atob(props.token); | const accesstoken = atob(props.token); | ||||||
| axios.get(`${config.baseurl_selfservice}/api/runners/me/${accesstoken}`) | axios.get(`${config.baseurl_selfservice}api/runners/me/${accesstoken}`) | ||||||
|   .then(({ data }) => { |   .then(({ data }) => { | ||||||
|     state.phone = data.phone; |     state.phone = data.phone; | ||||||
|     state.email = data.email; |     state.email = data.email; | ||||||
|   | |||||||
| @@ -268,7 +268,6 @@ const props = defineProps({ | |||||||
|   token: String |   token: String | ||||||
| }) | }) | ||||||
| if (props.token) { | if (props.token) { | ||||||
|   props.token = atob(props.token); |  | ||||||
|   axios.get(`${config.baseurl}api/organizations/selfservice/${props.token}`) |   axios.get(`${config.baseurl}api/organizations/selfservice/${props.token}`) | ||||||
|     .then(({ data }) => { |     .then(({ data }) => { | ||||||
|       state.org_name = data.name; |       state.org_name = data.name; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user