657 Commits

Author SHA1 Message Date
Geoff Lamperd
3fb52f843f updates actions version 2024-07-12 14:15:41 +10:00
Geoff Lamperd
309266765a adds unit test for regex 2024-07-12 13:59:03 +10:00
Geoff Lamperd
dc0f0f6277 fix: adds unit test for regex pattern 2024-07-08 17:42:00 +10:00
Geoff Lamperd
4fd6ccee71 fix: hash regex include \r 2024-07-08 15:06:47 +10:00
Jayden
7197129a42 Fix the issue that 'Firebase Function' might can't deploy
Might encounter an error when running the following commands:

```shell
cd packages/backend
yarn firebase:deploy
```

Error message:

```
⚠  functions: Upload Error: HTTP Error: 400, <?xml version='1.0' encoding='UTF-8'?><Error><Code>EntityTooLarge</Code><Message>Your proposed upload is larger than the maximum object size specified in your Policy Document.</Message><Details>Content-length exceeds upper bound on range</Details></Error>
```

Error Details: The uploaded Firebase function source code package is too large (exceeds 100MB).

Cause: After running `terraform` in the `backend/aws` folder, temporary files larger than 500MB are generated in `backend/aws`. The `backend/aws` folder is not needed for deploying Firebase functions.

**Solution**:

Modify the `firebase.json` file to exclude the `backend/aws` folder:

Before:

```json
    "functions": {
        "predeploy": "yarn --cwd \"$RESOURCE_DIR\" build",
        "source": "."
    }
```

After modification:

```json
    "functions": {
        "predeploy": "yarn --cwd \"$RESOURCE_DIR\" build",
        "source": ".",
        "ignore": [
            "node_modules",
            "aws"
        ]
    }
```

- Note:

  - Why add `node_modules`?

    In the [firebase-tools source code](https://github.com/firebase/firebase-tools/blob/v13.12.0/src/deploy/functions/prepareFunctionsUpload.ts#L75):

    ```typescript
    const ignore = config.ignore || ["node_modules", ".git"];
    ```

    When the `ignore` node is not configured, `node_modules` is automatically ignored. However, when `ignore` is manually added, you must also manually add `node_modules` to the `ignore` list.
2024-07-02 12:49:03 +08:00
Nico Serrano
531b682c26 Merge branch 'dev' into fix/finalize-ceremony-memory 2024-06-12 15:13:23 -04:00
Geoff Lamperd
c688853c91 chore: correct references to Hermez 2024-06-11 14:44:19 +10:00
Geoff Lamperd
5cb3cf9209 chore: bump package versions 2024-06-10 12:01:27 +10:00
Geoff Lamperd
b346db5f3d adds version note 2024-06-07 15:18:22 +10:00
Geoff Lamperd
d7602c6cc2 switch action to docker 2024-06-06 12:18:47 +10:00
Geoff Lamperd
9843891ddf fixes syntax 2024-06-04 14:11:13 +10:00
Geoff Lamperd
804239067c Merge branch 'dev' into update-phase1-links 2024-06-03 16:06:29 +10:00
Geoff Lamperd
b724c44187 timeout - include COMPLETED 2024-05-31 14:36:02 +10:00
Geoff Lamperd
d12e01ef80 updates Phase 1 file links 2024-05-24 17:04:55 +10:00
ctrlc03
afd27f038e fix: increase memory limit of finalizeCeremony CF 2024-05-13 09:25:51 +01:00
ctrlc03
64158905b1 chore: increase memory for cloud functions 2024-04-17 10:06:01 +01:00
NicoSerranoP
49bcf3966e fix: increase memory limits to 2gb for uploading functions 2024-04-16 10:19:47 -05:00
NicoSerranoP
db969d9b85 feat: backend completeMultiPartUpload increase memory to 1gb 2024-04-16 10:17:20 -05:00
NicoSerranoP
d52b62df2f fix: increase memory in startMultiPartUpload cloud function 2024-04-11 01:34:02 -05:00
NicoSerranoP
7acfd67f46 chore: increase version 2024-04-10 17:44:39 -05:00
NicoSerranoP
2f187903ec chore(release): publish 1.2.2" 2024-04-09 22:30:23 -05:00
NicoSerranoP
e242cba967 fix: less space 2024-04-09 22:28:14 -05:00
NicoSerranoP
3d318044cc fix: backend already sends data as milliseconds 2024-04-09 19:16:10 -05:00
NicoSerranoP
ed008c8900 chore(release): publish 1.2.1 2024-04-09 19:13:41 -05:00
NicoSerranoP
3d1be15a69 feat: list participants details of a ceremony 2024-04-09 19:11:32 -05:00
NicoSerranoP
625dddc239 feat: send message to display in each call of prompt (more flexible) 2024-04-09 18:53:46 -05:00
NicoSerranoP
777f684c66 chore(feat): increase to v1.2.0 2024-04-05 18:52:52 -04:00
NicoSerranoP
94aa6019c7 siwe(feat): control errors in oauth device code 2024-03-25 17:31:28 -05:00
NicoSerranoP
aa5707e422 siwe(fix): all evm networks 2024-03-15 19:04:36 -05:00
NicoSerranoP
27dcd744c0 list(fix): add TODO comment 2024-03-15 18:26:41 -05:00
NicoSerranoP
0876edc734 siwe(fix): use the complete uri for less clicks 2024-03-08 18:43:01 -05:00
Nico Serrano
671e653767 Merge pull request #270 from privacy-scaling-explorations/268-avoid-dup-compute
feat(contribute.ts): avoid duplicate invocation of compute step
2024-03-08 13:25:31 -05:00
NicoSerranoP
ba48555c25 local-config(fix): add authMethod in config object 2024-03-07 19:08:34 -05:00
NicoSerranoP
eedd555e67 auth(feat): save authentication method in local storage 2024-03-07 19:02:30 -05:00
NicoSerranoP
5bf196f3c1 bandada(fix): directory name depending on /src existence 2024-03-07 18:38:53 -05:00
NicoSerranoP
fe3b9ec03d siwe(fix): try catch when creating user 2024-03-07 18:38:11 -05:00
NicoSerranoP
20def26766 siwe(feat): cloud function working 2024-03-07 02:43:06 -05:00
Geoff Lamperd
4ab581ef7d feat(contribute.ts): avoid duplicate invocation of compute step
Adds guard to prevent race condition when conditions allow start of compute step

fix #268
2024-03-07 14:38:31 +10:00
NicoSerranoP
d3e30150bc siwe(feat): interacting with cf 2024-03-06 18:22:57 -05:00
NicoSerranoP
fafed6e133 env(feat): add bandada env variables 2024-03-06 18:22:16 -05:00
NicoSerranoP
28e5e8b668 siwe(feat): make command accesible 2024-03-06 15:32:32 -05:00
NicoSerranoP
3fba30d08e siwe(feat): using auth0 app 2024-03-05 23:35:45 -05:00
NicoSerranoP
0dd6a6667b bandada(fix): better importing 2024-03-05 23:27:17 -05:00
NicoSerranoP
ce17b500ff send public folder to cli directory 2024-02-08 12:12:53 -05:00
NicoSerranoP
3036a92f9d Merge branch 'dev' into feat/nico/list-ceremony-participants 2024-02-06 16:14:14 -05:00
NicoSerranoP
ff8be02c4c bandada(fix): less code for user check and creation 2024-01-25 13:44:50 -05:00
NicoSerranoP
093837778d bandada(feat): enter your own identity seed 2024-01-25 00:47:28 -05:00
NicoSerranoP
34d34b4ad3 terminate(fix): if it is not github then return id as handler 2024-01-25 00:41:45 -05:00
NicoSerranoP
ec232657d8 contribute(feat): avoid gist upload if bandada 2024-01-24 19:19:27 -05:00
NicoSerranoP
da171ecd65 bandada(feat): fixing user creation with bandada 2024-01-24 19:19:04 -05:00