From 239645eda29d01740c359fd83736405698ffff52 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Mon, 3 Feb 2020 16:07:32 +0100 Subject: [PATCH 1/2] update: add upload-src and range-typeevents --- config.sample.federated.json | 8 ++++++-- config.sample.json | 4 +++- src/page-events.pug | 6 +++++- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/config.sample.federated.json b/config.sample.federated.json index 9297558..a17abca 100644 --- a/config.sample.federated.json +++ b/config.sample.federated.json @@ -12,14 +12,18 @@ "projects": "http://localhost:8000/projects/", "customers": "http://localhost:8000/customers/", "events": "http://localhost:8000/events/", - "users": "http://localhost:8000/users/" + "typeevents": "http://localhost:8000/typeevents/", + "users": "http://localhost:8000/users/", + "uploads": "http://localhost:8000/upload/" }, "post": { "circles": "http://localhost:8000/circles/", "projects": "http://localhost:8000/projects/", "customers": "http://localhost:8000/customers/", "events": "http://localhost:8000/events/", - "users": "http://localhost:8000/users/" + "typeevents": "http://localhost:8000/typeevents/", + "users": "http://localhost:8000/users/", + "uploads": "http://localhost:8000/upload/" } } } diff --git a/config.sample.json b/config.sample.json index 76cff70..0197c37 100644 --- a/config.sample.json +++ b/config.sample.json @@ -11,6 +11,8 @@ "projects": "http://localhost:8000/projects/", "customers": "http://localhost:8000/customers/", "events": "http://localhost:8000/events/", - "users": "http://localhost:8000/users/" + "typeevents": "http://localhost:8000/typeevents/", + "users": "http://localhost:8000/users/", + "uploads": "http://localhost:8000/upload/" } } diff --git a/src/page-events.pug b/src/page-events.pug index f92f8d8..2d1fa39 100644 --- a/src/page-events.pug +++ b/src/page-events.pug @@ -1,2 +1,6 @@ .views-container - sib-event(data-src=`${endpoints.events || (endpoints.get && endpoints.get.events)}`) \ No newline at end of file + sib-event( + data-src=`${endpoints.events || (endpoints.get && endpoints.get.events)}` + range-typeevents=`${endpoints.typeevents || (endpoints.get && endpoints.get.typeevents)}` + upload-src=`${endpoints.uploads || (endpoints.get && endpoints.get.uploads)}` + ) \ No newline at end of file From 2bf2206634a79e318e62a1896f0a3fe39961c4e9 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Mon, 3 Feb 2020 16:16:23 +0100 Subject: [PATCH 2/2] update readme for typeevent and uploads --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 176c48e..6ea8803 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Current Sib App capabilities: | Base | `djangoldp_account`, `djangoldp_profile`, `djangoldp_notification`, `oidc_provider` | `users` | | Circles | `djangoldp_circle` | `circles` | | Projects | `djangoldp_project` | `projects`, `customers` | -| Events | `djangoldp_event` | `events` | +| Events | `djangoldp_event` | `events`, `typeevents`, `uploads` | Federated Sib App needs to use `config.sample.federated.json` example.