123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429 |
- {
- "lang": [{
- "id": "fr",
- "name": "Français",
- "src": "https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg",
- "active": true
- }, {
- "id": "en",
- "name": "English",
- "src": "https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg",
- "active": false
- }],
- "user_logged": {
- "logged": true,
- "user": {
- "id": 5,
- "username": "Smoi",
- "firstname": "Côme",
- "lastname": "Stoilenom",
- "email": "osef@algoo.fr",
- "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4",
- "role": "Utilisateur",
- "job": "Integrateur | Webdesigner",
- "company": "Algoo",
- "caldav_url": "http://algoo.trac.im/caldav/user/5.ics/"
- }
- },
- "app_config": [{
- "name": "PageHtml",
- "label": {
- "fr": "Page Html",
- "en": "Html page"
- },
- "componentLeft": "PageHtml",
- "componentRight": "Timeline",
- "customClass": "wsContentPageHtml",
- "icon": "fa fa-fw fa-file-word-o",
- "color": "#65c7f2",
- "domContainer": "appContainer"
- }, {
- "name": "PageMarkdown",
- "label": {
- "fr": "Page Markdown",
- "en": "Markdown page"
- },
- "componentLeft": "PageMarkdown",
- "componentRight": "undefined",
- "customClass": "wsContentPageMarkdown",
- "icon": "fa fa-fw fa-file-code-o",
- "color": "#e0082b",
- "domContainer": "appContainer"
- }, {
- "name": "File",
- "label": {
- "fr": "Fichier",
- "en": "File"
- },
- "componentLeft": "File",
- "componentRight": "undefined",
- "customClass": "wsContentFile",
- "icon": "fa fa-fw fa-file-text-o",
- "color": "#263462",
- "domContainer": "appContainer"
- }, {
- "name": "Thread",
- "label": {
- "fr": "Discussion",
- "en": "Thread"
- },
- "componentLeft": "Thread",
- "componentRight": "undefined",
- "customClass": "wsContentThread",
- "icon": "fa fa-fw fa-comments-o",
- "color": "#2674d3",
- "domContainer": "appContainer"
- }, {
- "name": "Task",
- "label": {
- "fr": "Tâche",
- "en": "Task"
- },
- "componentLeft": "Task",
- "componentRight": "undefined",
- "customClass": "wsContentTask",
- "icon": "fa fa-fw fa-list-ul",
- "color": "#2d5a88",
- "domContainer": "appContainer"
- }, {
- "name": "Issue",
- "label": {
- "fr": "Ticket",
- "en": "Issue"
- },
- "componentLeft": "Issue",
- "componentRight": "undefined",
- "customClass": "wsContentIssue",
- "icon": "fa fa-fw fa-ticket",
- "color": "#a4835e",
- "domContainer": "appContainer"
- }],
- "workspace_detail": {
- "id": 1,
- "title": "Mission interne - développement",
- "owner_id": 5,
- "content": [
- {
- "id": 1,
- "parent_id": null,
- "workspace_id": 1,
- "title": "Design v2",
- "type": "PageHtml",
- "status": "validated"
- },
- {
- "id": 2,
- "parent_id": null,
- "workspace_id": 1,
- "title": "La programmation fonctionnelle est-elle vraiment utile ?",
- "type": "Thread",
- "status": "current"
- },
- {
- "id": 6,
- "parent_id": null,
- "workspace_id": 1,
- "title": "Une photo",
- "type": "File",
- "status": "current"
- },
- {
- "id": 10,
- "parent_id": null,
- "workspace_id": 1,
- "title": "README.md de tracim_lib",
- "type": "PageMarkdown",
- "status": "current"
- },
- {
- "id": 7,
- "parent_id": null,
- "workspace_id": 1,
- "title": "Etape d'installation de Tracim",
- "type": "Task",
- "status": "current"
- },
- {
- "id": 8,
- "parent_id": null,
- "workspace_id": 1,
- "title": "Fixe du fichier css",
- "type": "Issue",
- "status": "current"
- },
- {
- "id": 3,
- "parent_id": null,
- "workspace_id": 1,
- "title": "Programmation objet",
- "type": "folder",
- "allowed_app": ["PageHtml", "Thread", "File", "PageMarkdown", "Task", "Issue"],
- "content": []
- }
- ]
- },
- "folder_content_3": [
- {
- "id": 4,
- "parent_id": 3,
- "workspace_id": 1,
- "title": "Backend appli n°578",
- "type": "File",
- "status": "outdated"
- },
- {
- "id": 5,
- "parent_id": 3,
- "workspace_id": 1,
- "title": "La programmation fonctionnelle",
- "type": "PageHtml",
- "status": "outdated"
- },
- {
- "id": 11,
- "parent_id": 3,
- "workspace_id": 1,
- "title": "ticket à fixe",
- "type": "folder",
- "allowed_app": ["PageHtml", "Thread", "File", "PageMarkdown", "Task", "Issue"],
- "content": []
- }
- ],
- "folder_content_11": [
- {
- "id": 12,
- "parent_id": 11,
- "workspace_id": 1,
- "title": "ticket à fixe",
- "type": "PageHtml",
- "status": "current"
- },
- {
- "id": 13,
- "parent_id": 11,
- "workspace_id": 1,
- "title": "issue n°555",
- "type": "Issue",
- "status": "current"
- }
- ],
- "timeline": [{
- "id": 0,
- "type": "message",
- "author": {
- "id": 5,
- "username": "Stoi",
- "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4"
- },
- "createdAt": {
- "day": "27/11/17",
- "hour": "11h45"
- },
- "text": "Proident esse laboris in sed officia exercitation ut anim ea."
- }, {
- "id": 1,
- "type": "message",
- "author": {
- "id": 1,
- "username": "smoi",
- "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
- },
- "createdAt": {
- "day": "27/11/16",
- "hour": "10h30"
- },
- "text": "Proident esse laboris in sed officia exercitation ut anim ea. in sed officia exercitation ut"
- }, {
- "id": 2,
- "type": "message",
- "author": {
- "id": 1,
- "username": "smoi",
- "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
- },
- "createdAt": {
- "day": "27/11/15",
- "hour": "10h30"
- },
- "text": "Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea. Proident esse laboris in sed officia exercitation ut anim ea."
- }, {
- "id": 3,
- "type": "version",
- "author": {
- "id": 1,
- "username": "smoi",
- "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
- },
- "createdAt": {
- "day": "27/11/11"
- },
- "number": "5"
- }],
- "content_data_pageHtml": {
- "id": "1",
- "type": "pageHtml",
- "title": "La programmation fonctionnelle",
- "status": "validated",
- "version": "3",
- "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle",
- "workspace": {
- "id": 1,
- "title": "Mission interne - développement",
- "owner_id": 5
- }
- },
- "content_data_thread": {
- "id": 2,
- "type": "thread",
- "title": "La programmation fonctionnelle est-elle vraiment utile ?",
- "status": "validated",
- "message_list": [{
- "id": 0,
- "author": {
- "id": 5,
- "username": "Peter",
- "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
- },
- "text": "Tu aurais envie de manger quoi exactement ?",
- "createdAt": {
- "day": "05/03/18",
- "hour": "10h00"
- }
- }, {
- "id": 1,
- "author": {
- "id": 3,
- "username": "Steven",
- "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
- },
- "createdAt": {
- "day": "05/03/18",
- "hour": "09h59"
- },
- "text": "Ben je sais pas, par exemple une quiche lorraine."
- }, {
- "id": 2,
- "author": {
- "id": 5,
- "username": "Peter",
- "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
- },
- "text": "Une ouiche.",
- "createdAt": {
- "day": "05/03/18",
- "hour": "09h59"
- }
- }, {
- "id": 3,
- "author": {
- "id": 3,
- "username": "Steven",
- "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
- },
- "createdAt": {
- "day": "05/03/18",
- "hour": "09h59"
- },
- "text": "Quoi ?"
- }, {
- "id": 4,
- "author": {
- "id": 5,
- "username": "Peter",
- "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
- },
- "text": "On dit « une ouiche lorraine ».",
- "createdAt": {
- "day": "05/03/18",
- "hour": "09h59"
- }
- }, {
- "id": 5,
- "author": {
- "id": 3,
- "username": "Steven",
- "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
- },
- "createdAt": {
- "day": "05/03/18",
- "hour": "09h58"
- },
- "text": "Tu es sûr ?"
- }, {
- "id": 6,
- "author": {
- "id": 3,
- "username": "Steven",
- "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
- },
- "text": "Ça fait bizarre, « ouiche lorraine ».",
- "createdAt": {
- "day": "05/03/18",
- "hour": "09h59"
- }
- }]
- },
- "workspace_list": [{
- "id": 0,
- "title": "Ressources humaine"
- }, {
- "id": 1,
- "title": "Marketing"
- }, {
- "id": 2,
- "title": "Missions externes"
- }, {
- "id": 3,
- "title": "Recherche et développement"
- }, {
- "id": 4,
- "title": "Commercialisation"
- }, {
- "id": 5,
- "title": "Évolutions"
- }],
- "user_role": [{
- "workspace": {
- "id": 0,
- "title": "Ressources humaine"
- },
- "role": "reader",
- "subscribed_to_notif": true
- }, {
- "workspace": {
- "id": 1,
- "title": "Marketing"
- },
- "role": "manager",
- "subscribed_to_notif": true
- }, {
- "workspace": {
- "id": 2,
- "title": "Missions externes"
- },
- "role": "contributor",
- "subscribed_to_notif": false
- }, {
- "workspace": {
- "id": 3,
- "title": "Recherche et développement"
- },
- "role": "content_manager",
- "subscribed_to_notif": true
- }, {
- "workspace": {
- "id": 4,
- "title": "Commercialisation"
- },
- "role": "reader",
- "subscribed_to_notif": false
- }, {
- "workspace": {
- "id": 5,
- "title": "Évolutions"
- },
- "role": "content_manager",
- "subscribed_to_notif": true
- }]
- }
|