Commit Graph

1135 Commits

Author SHA1 Message Date
Asim Aslam
527dcc12c3 update go mod (#334) 2021-12-16 12:31:04 +00:00
Asim Aslam
f9e539ad88 fix url in status 2021-12-16 08:44:43 +00:00
Asim Aslam
41956ff724 fix example 2021-12-15 11:27:36 +00:00
Asim Aslam
ea691f1cf9 add proxy code 2021-12-15 11:21:48 +00:00
Asim Aslam
ff51489278 App API (#291)
* app deployment

* add source to deployment

* support without https prefix

* add image

* minor comment

* fix deploy

* further fixes

* fix the error output

* add account name

* set limits

* fix error handling

* fix app handler

* fix unmarshalling

* remove http2

* set status

* fix bug

* .

* add ability to specify branch

* .

* .

* add better error handling

* add app limit

* add function limit

* update app readme

* log status error

* update app to use the store

* remove double e limit

* switch to created/updated

* update app handler

* 5 bucks

* 10 bucks

* unique deployments

* fix the sid

* unique name handling

* allow running where reservation expired

* check for reservations

* update readme

* fix update check

* update proto comment

* add resolve endpoint

* ship with domain

* fix url

* create unprivileged service account

* add service account to update

* .

* .

* update comment

* .

* update public api json
2021-12-15 11:11:58 +00:00
Asim Aslam
8c6857f21f check output 2021-12-15 10:17:19 +00:00
Asim Aslam
fe4619ba4f fix delete 2021-12-15 10:14:12 +00:00
Asim Aslam
89720e70ff set function identity in deployments 2021-12-15 10:03:46 +00:00
Asim Aslam
be3b2a6951 Merge branch 'master' of ssh://github.com/micro/services 2021-12-14 09:45:07 +00:00
Asim Aslam
6c1b7bdca5 flatten categories 2021-12-14 09:39:21 +00:00
Daniel Joudat
09d6f9f615 Add missing '&' (#329) 2021-12-14 09:10:45 +00:00
Daniel Joudat
5220d7fade fix an error when calling VerifyToken with valid Token (#327)
* add two rpcs to User service:
	- Passwordless: endpoint that receives an email, topic and an optional message
	- PasswordlessML: endpoint that receives token and topic via MagicLink.

* Proposal to add Passwordless login feature to the endpoint user.

* remove currency run check

* Commit from GitHub Actions (Publish APIs & Clients)

* Create downstream.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* update todo

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update and rename publish.yml to generate.yml

* Update generate.yml

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* add comments

* Commit from GitHub Actions (Generate Clients & Examples)

* move otp to auth category

* charge for user verification

* Commit from GitHub Actions (Generate Clients & Examples)

* Update user.proto

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* Change js client git repo url (#249)

* Commit from GitHub Actions (Generate Clients & Examples)

* use tableName func for Count

* Commit from GitHub Actions (Generate Clients & Examples)

* update notes example

* Commit from GitHub Actions (Generate Clients & Examples)

* Update .gitignore

* Update .gitignore

* Commit from GitHub Actions (Generate Clients & Examples)

* add new endpoints SendMagicLink and VerifyToken to M3O user serivce

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

* fix an error in user.VerifyToken

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

* OSD add another check for err in user CacheReadToken

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

Co-authored-by: Asim Aslam <asim@aslam.me>
Co-authored-by: asim <asim@users.noreply.github.com>
Co-authored-by: Janos Dobronszki <dobronszki@gmail.com>
Co-authored-by: crufter <crufter@users.noreply.github.com>
2021-12-13 18:47:24 +00:00
Dominic Wong
ff49510a73 docs 2021-12-13 17:02:59 +00:00
Asim Aslam
fb45ae439e update function comment 2021-12-13 17:00:40 +00:00
Daniel Joudat
cb0c202aad Fix panic sendmagiclink (#326)
* add two rpcs to User service:
	- Passwordless: endpoint that receives an email, topic and an optional message
	- PasswordlessML: endpoint that receives token and topic via MagicLink.

* Proposal to add Passwordless login feature to the endpoint user.

* remove currency run check

* Commit from GitHub Actions (Publish APIs & Clients)

* Create downstream.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* update todo

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update and rename publish.yml to generate.yml

* Update generate.yml

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* add comments

* Commit from GitHub Actions (Generate Clients & Examples)

* move otp to auth category

* charge for user verification

* Commit from GitHub Actions (Generate Clients & Examples)

* Update user.proto

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* Change js client git repo url (#249)

* Commit from GitHub Actions (Generate Clients & Examples)

* use tableName func for Count

* Commit from GitHub Actions (Generate Clients & Examples)

* update notes example

* Commit from GitHub Actions (Generate Clients & Examples)

* Update .gitignore

* Update .gitignore

* Commit from GitHub Actions (Generate Clients & Examples)

* add new endpoints SendMagicLink and VerifyToken to M3O user serivce

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

* fix panic in user.SendMagicLink

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

Co-authored-by: Asim Aslam <asim@aslam.me>
Co-authored-by: asim <asim@users.noreply.github.com>
Co-authored-by: Janos Dobronszki <dobronszki@gmail.com>
Co-authored-by: crufter <crufter@users.noreply.github.com>
2021-12-13 16:08:26 +00:00
Dominic Wong
bac167a847 update space examples (#325) 2021-12-13 15:25:51 +00:00
zhaoyang
5401541109 BugFix: if name == "" should return the prefix key (#324)
* fix: if name is empty, then should return the prefix

* fix: if name is empty, then should return the prefix

* fix: limit is not working
2021-12-13 14:54:34 +00:00
Daniel Joudat
2b24aba3c3 Remove stream from SendMagicLink (#320)
* add two rpcs to User service:
	- Passwordless: endpoint that receives an email, topic and an optional message
	- PasswordlessML: endpoint that receives token and topic via MagicLink.

* Proposal to add Passwordless login feature to the endpoint user.

* remove currency run check

* Commit from GitHub Actions (Publish APIs & Clients)

* Create downstream.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* update todo

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update and rename publish.yml to generate.yml

* Update generate.yml

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* add comments

* Commit from GitHub Actions (Generate Clients & Examples)

* move otp to auth category

* charge for user verification

* Commit from GitHub Actions (Generate Clients & Examples)

* Update user.proto

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* Change js client git repo url (#249)

* Commit from GitHub Actions (Generate Clients & Examples)

* use tableName func for Count

* Commit from GitHub Actions (Generate Clients & Examples)

* update notes example

* Commit from GitHub Actions (Generate Clients & Examples)

* Update .gitignore

* Update .gitignore

* Commit from GitHub Actions (Generate Clients & Examples)

* add new endpoints SendMagicLink and VerifyToken to M3O user serivce

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

* remove stream from SendMagicLink

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

* fix user/examples.json

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

* fix typo in user.proto sessino -> session | add dumpy session in user/examples.json

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

Co-authored-by: Asim Aslam <asim@aslam.me>
Co-authored-by: asim <asim@users.noreply.github.com>
Co-authored-by: Janos Dobronszki <dobronszki@gmail.com>
Co-authored-by: crufter <crufter@users.noreply.github.com>
2021-12-13 13:47:25 +00:00
zhaoyang
28fb141819 feat: replace model with store (#322) 2021-12-13 13:23:01 +00:00
Asim Aslam
9a787d2362 update file read example 2021-12-13 11:13:19 +00:00
Asim Aslam
3cdf5baa23 update function 2021-12-12 09:28:56 +00:00
Asim Aslam
d456ff28e1 fix url 2021-12-11 20:52:48 +00:00
Asim Aslam
4bb61996c9 fix url 2021-12-11 20:49:56 +00:00
Asim Aslam
6ec7a9d5c1 fix example 2021-12-11 20:28:34 +00:00
Asim Aslam
b5ca8caf29 run check false 2021-12-11 20:24:28 +00:00
Asim Aslam
088f3f7a52 rewrite url serfivce 2021-12-11 20:23:24 +00:00
zhaoyang
bba608b405 Pr/avatar (#319)
* feat: add avatar api
close #310

* chore: add description line

* fix: typo

* chore: reformat the json string to make it more readable and fix few bad indents

* fix: minimum go version

* feat: upload to Micro's CDN

* chore: delete redundant blank line

* chore: update README.md
2021-12-11 08:20:48 +00:00
Asim Aslam
f68c1cb08a remove migration 2021-12-10 20:45:42 +00:00
Asim Aslam
515f2f6caf fix reading 2021-12-10 20:44:03 +00:00
Asim Aslam
50e3377f32 migrate from model to store 2021-12-10 20:37:14 +00:00
Dominic Wong
c28d9a8cc4 docs 2021-12-10 17:16:17 +00:00
Dominic Wong
2fd9aed34e docs 2021-12-10 16:44:17 +00:00
Asim Aslam
3d93fd9b41 rename to google function 2021-12-10 16:20:16 +00:00
Asim Aslam
94d3ace6cb function prefix 2021-12-10 16:13:53 +00:00
Asim Aslam
52a11c0872 fix function env var 2021-12-10 15:59:45 +00:00
Asim Aslam
dc0145d7ee lowercase env var 2021-12-10 15:59:12 +00:00
Asim Aslam
855fd8f72a replace db with store in function (#318)
* replace db with store in function

* .

* set id properly

* .
2021-12-10 15:51:34 +00:00
Dominic Wong
f022c62a87 Space.Upload (#313) 2021-12-10 15:26:50 +00:00
Asim Aslam
156042c6ea update 2021-12-10 12:17:38 +00:00
Asim Aslam
adb1fadbfb fix example 2021-12-10 11:33:52 +00:00
Asim Aslam
7d3bc9a5b2 add youtube embed endpoint 2021-12-10 11:28:00 +00:00
Asim Aslam
13dd1af1d4 youtube embed 2021-12-10 11:07:11 +00:00
Asim Aslam
d5fa802db2 update readme 2021-12-10 10:41:22 +00:00
Asim Aslam
3b5eca0f37 fix example 2021-12-10 10:40:57 +00:00
Asim Aslam
4154841cd6 Merge branch 'master' of ssh://github.com/micro/services 2021-12-10 10:38:28 +00:00
Asim Aslam
b970be2cd7 update comments 2021-12-10 10:38:11 +00:00
Asim Aslam
99a852e052 Update TODO.md 2021-12-10 10:35:28 +00:00
Asim Aslam
8b48ea58a4 update translate 2021-12-10 10:28:41 +00:00
zhaoyang
4ec7a7aa5c feat: add translation API (#297)
* feat: add translation

* feat: resurface translation by Google Translation

* feat: renamed the service as `translate` to make more readable

* fix: renamed response and request name to match rpc name

* chore: delete useless blank line

* Update publicapi.json

* Update publicapi.json

* Update README.md

Co-authored-by: Asim Aslam <asim@aslam.me>
2021-12-10 10:15:57 +00:00
Daniel Joudat
1d6234155a Passwordless (#292)
* add two rpcs to User service:
	- Passwordless: endpoint that receives an email, topic and an optional message
	- PasswordlessML: endpoint that receives token and topic via MagicLink.

* Proposal to add Passwordless login feature to the endpoint user.

* remove currency run check

* Commit from GitHub Actions (Publish APIs & Clients)

* Create downstream.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* update todo

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update publish.yml

* Commit from GitHub Actions (Publish APIs & Clients)

* Update and rename publish.yml to generate.yml

* Update generate.yml

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* add comments

* Commit from GitHub Actions (Generate Clients & Examples)

* move otp to auth category

* charge for user verification

* Commit from GitHub Actions (Generate Clients & Examples)

* Update user.proto

* Commit from GitHub Actions (Generate Clients & Examples)

* Commit from GitHub Actions (Generate Clients & Examples)

* Change js client git repo url (#249)

* Commit from GitHub Actions (Generate Clients & Examples)

* use tableName func for Count

* Commit from GitHub Actions (Generate Clients & Examples)

* update notes example

* Commit from GitHub Actions (Generate Clients & Examples)

* Update .gitignore

* Update .gitignore

* Commit from GitHub Actions (Generate Clients & Examples)

* add new endpoints SendMagicLink and VerifyToken to M3O user serivce

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

* Update user.proto

* add examples to examples.json | convert isvalid to is_valid | add some extra comments in user.proto

Signed-off-by: Daniel Joudat <danieljoudat@gmail.com>

Co-authored-by: Asim Aslam <asim@aslam.me>
Co-authored-by: asim <asim@users.noreply.github.com>
Co-authored-by: Janos Dobronszki <dobronszki@gmail.com>
Co-authored-by: crufter <crufter@users.noreply.github.com>
2021-12-10 09:57:00 +00:00