static_db.json 9.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416
  1. {
  2. "lang": [{
  3. "id": "fr",
  4. "name": "Français",
  5. "src": "https://upload.wikimedia.org/wikipedia/commons/c/c3/Flag_of_France.svg",
  6. "active": true
  7. }, {
  8. "id": "en",
  9. "name": "English",
  10. "src": "https://upload.wikimedia.org/wikipedia/commons/a/ae/Flag_of_the_United_Kingdom.svg",
  11. "active": false
  12. }],
  13. "user_logged": {
  14. "logged": true,
  15. "user": {
  16. "id": 5,
  17. "username": "Smoi",
  18. "firstname": "Côme",
  19. "lastname": "Stoilenom",
  20. "email": "osef@algoo.fr",
  21. "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4",
  22. "role": "Utilisateur",
  23. "job": "Integrateur | Webdesigner",
  24. "company": "Algoo",
  25. "caldav_url": "http://algoo.trac.im/caldav/user/5.ics/"
  26. }
  27. },
  28. "app_config": [{
  29. "name": "PageHtml",
  30. "label": {
  31. "fr": "Page Html",
  32. "en": "Html page"
  33. },
  34. "componentLeft": "PageHtml",
  35. "componentRight": "Timeline",
  36. "customClass": "wsContentPageHtml",
  37. "icon": "fa fa-fw fa-file-word-o",
  38. "color": "#65c7f2"
  39. }, {
  40. "name": "PageMarkdown",
  41. "label": {
  42. "fr": "Page Markdown",
  43. "en": "Markdown page"
  44. },
  45. "componentLeft": "PageMarkdown",
  46. "componentRight": "undefined",
  47. "customClass": "wsContentPageMarkdown",
  48. "icon": "fa fa-fw fa-file-code-o",
  49. "color": "#e0082b"
  50. }, {
  51. "name": "File",
  52. "label": {
  53. "fr": "Fichier",
  54. "en": "File"
  55. },
  56. "componentLeft": "File",
  57. "componentRight": "undefined",
  58. "customClass": "wsContentFile",
  59. "icon": "fa fa-fw fa-file-text-o",
  60. "color": "#263462"
  61. }, {
  62. "name": "Thread",
  63. "label": {
  64. "fr": "Discussion",
  65. "en": "Thread"
  66. },
  67. "componentLeft": "Thread",
  68. "componentRight": "undefined",
  69. "customClass": "wsContentThread",
  70. "icon": "fa fa-fw fa-comments-o",
  71. "color": "#2674d3"
  72. }, {
  73. "name": "Task",
  74. "label": {
  75. "fr": "Tâche",
  76. "en": "Task"
  77. },
  78. "componentLeft": "Task",
  79. "componentRight": "undefined",
  80. "customClass": "wsContentTask",
  81. "icon": "fa fa-fw fa-list-ul",
  82. "color": "#2d5a88"
  83. }, {
  84. "name": "Issue",
  85. "label": {
  86. "fr": "Ticket",
  87. "en": "Issue"
  88. },
  89. "componentLeft": "Issue",
  90. "componentRight": "undefined",
  91. "customClass": "wsContentIssue",
  92. "icon": "fa fa-fw fa-ticket",
  93. "color": "#a4835e"
  94. }],
  95. "workspace_detail": {
  96. "id": 1,
  97. "title": "Mission interne - développement",
  98. "owner_id": 5,
  99. "content": [
  100. {
  101. "id": 1,
  102. "parent_id": null,
  103. "workspace_id": 1,
  104. "title": "Design v2",
  105. "type": "PageHtml",
  106. "status": "validated"
  107. },
  108. {
  109. "id": 2,
  110. "parent_id": null,
  111. "workspace_id": 1,
  112. "title": "La programmation fonctionnelle est-elle vraiment utile ?",
  113. "type": "Thread",
  114. "status": "current"
  115. },
  116. {
  117. "id": 6,
  118. "parent_id": null,
  119. "workspace_id": 1,
  120. "title": "Une photo",
  121. "type": "File",
  122. "status": "current"
  123. },
  124. {
  125. "id": 10,
  126. "parent_id": null,
  127. "workspace_id": 1,
  128. "title": "README.md de tracim_lib",
  129. "type": "PageMarkdown",
  130. "status": "current"
  131. },
  132. {
  133. "id": 7,
  134. "parent_id": null,
  135. "workspace_id": 1,
  136. "title": "Etape d'installation de Tracim",
  137. "type": "Task",
  138. "status": "current"
  139. },
  140. {
  141. "id": 8,
  142. "parent_id": null,
  143. "workspace_id": 1,
  144. "title": "Fixe du fichier css",
  145. "type": "Issue",
  146. "status": "current"
  147. },
  148. {
  149. "id": 3,
  150. "parent_id": null,
  151. "workspace_id": 1,
  152. "title": "Programmation objet",
  153. "type": "folder",
  154. "content": []
  155. }
  156. ]
  157. },
  158. "folder_content_3": [
  159. {
  160. "id": 4,
  161. "parent_id": 3,
  162. "workspace_id": 1,
  163. "title": "Backend appli n°578",
  164. "type": "File",
  165. "status": "outdated"
  166. },
  167. {
  168. "id": 5,
  169. "parent_id": 3,
  170. "workspace_id": 1,
  171. "title": "La programmation fonctionnelle",
  172. "type": "PageHtml",
  173. "status": "outdated"
  174. },
  175. {
  176. "id": 11,
  177. "parent_id": 3,
  178. "workspace_id": 1,
  179. "title": "ticket à fixe",
  180. "type": "folder",
  181. "content": []
  182. }
  183. ],
  184. "folder_content_11": [
  185. {
  186. "id": 12,
  187. "parent_id": 11,
  188. "workspace_id": 1,
  189. "title": "ticket à fixe",
  190. "type": "PageHtml",
  191. "status": "current"
  192. },
  193. {
  194. "id": 13,
  195. "parent_id": 11,
  196. "workspace_id": 1,
  197. "title": "issue n°555",
  198. "type": "Issue",
  199. "status": "current"
  200. }
  201. ],
  202. "timeline": [{
  203. "id": 0,
  204. "type": "message",
  205. "author": {
  206. "id": 5,
  207. "username": "Stoi",
  208. "avatar": "https://avatars3.githubusercontent.com/u/11177014?s=460&v=4"
  209. },
  210. "createdAt": {
  211. "day": "27/11/17",
  212. "hour": "11h45"
  213. },
  214. "text": "Proident esse laboris in sed officia exercitation ut anim ea."
  215. }, {
  216. "id": 1,
  217. "type": "message",
  218. "author": {
  219. "id": 1,
  220. "username": "smoi",
  221. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  222. },
  223. "createdAt": {
  224. "day": "27/11/16",
  225. "hour": "10h30"
  226. },
  227. "text": "Proident esse laboris in sed officia exercitation ut anim ea. in sed officia exercitation ut"
  228. }, {
  229. "id": 2,
  230. "type": "message",
  231. "author": {
  232. "id": 1,
  233. "username": "smoi",
  234. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  235. },
  236. "createdAt": {
  237. "day": "27/11/15",
  238. "hour": "10h30"
  239. },
  240. "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."
  241. }, {
  242. "id": 3,
  243. "type": "version",
  244. "author": {
  245. "id": 1,
  246. "username": "smoi",
  247. "avatar": "https://www.algoo.fr/static/images/algoo_images/algoo-logo.jpg"
  248. },
  249. "createdAt": {
  250. "day": "27/11/11"
  251. },
  252. "number": "5"
  253. }],
  254. "content_data_pageHtml": {
  255. "id": "1",
  256. "type": "pageHtml",
  257. "title": "La programmation fonctionnelle",
  258. "status": "validated",
  259. "version": "3",
  260. "text": "<h1>Mon titre nul</h1>Je suis le contenu de cette fameuse <b>page HTML</b><br /> sur la programmation fonctionnelle"
  261. },
  262. "content_data_thread": {
  263. "id": 2,
  264. "type": "thread",
  265. "title": "La programmation fonctionnelle est-elle vraiment utile ?",
  266. "status": "validated",
  267. "message_list": [{
  268. "id": 0,
  269. "author": {
  270. "id": 5,
  271. "username": "Peter",
  272. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  273. },
  274. "text": "Tu aurais envie de manger quoi exactement ?",
  275. "createdAt": {
  276. "day": "05/03/18",
  277. "hour": "10h00"
  278. }
  279. }, {
  280. "id": 1,
  281. "author": {
  282. "id": 3,
  283. "username": "Steven",
  284. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  285. },
  286. "createdAt": {
  287. "day": "05/03/18",
  288. "hour": "09h59"
  289. },
  290. "text": "Ben je sais pas, par exemple une quiche lorraine."
  291. }, {
  292. "id": 2,
  293. "author": {
  294. "id": 5,
  295. "username": "Peter",
  296. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  297. },
  298. "text": "Une ouiche.",
  299. "createdAt": {
  300. "day": "05/03/18",
  301. "hour": "09h59"
  302. }
  303. }, {
  304. "id": 3,
  305. "author": {
  306. "id": 3,
  307. "username": "Steven",
  308. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  309. },
  310. "createdAt": {
  311. "day": "05/03/18",
  312. "hour": "09h59"
  313. },
  314. "text": "Quoi ?"
  315. }, {
  316. "id": 4,
  317. "author": {
  318. "id": 5,
  319. "username": "Peter",
  320. "avatar": "https://avatars3.githubusercontent.com/u/1104637?s=460&v=4"
  321. },
  322. "text": "On dit « une ouiche lorraine ».",
  323. "createdAt": {
  324. "day": "05/03/18",
  325. "hour": "09h59"
  326. }
  327. }, {
  328. "id": 5,
  329. "author": {
  330. "id": 3,
  331. "username": "Steven",
  332. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  333. },
  334. "createdAt": {
  335. "day": "05/03/18",
  336. "hour": "09h58"
  337. },
  338. "text": "Tu es sûr ?"
  339. }, {
  340. "id": 6,
  341. "author": {
  342. "id": 3,
  343. "username": "Steven",
  344. "avatar": "https://avatars3.githubusercontent.com/u/705214?s=460&v=4"
  345. },
  346. "text": "Ça fait bizarre, « ouiche lorraine ».",
  347. "createdAt": {
  348. "day": "05/03/18",
  349. "hour": "09h59"
  350. }
  351. }]
  352. },
  353. "workspace_list": [{
  354. "id": 0,
  355. "title": "Ressources humaine"
  356. }, {
  357. "id": 1,
  358. "title": "Marketing"
  359. }, {
  360. "id": 2,
  361. "title": "Missions externes"
  362. }, {
  363. "id": 3,
  364. "title": "Recherche et développement"
  365. }, {
  366. "id": 4,
  367. "title": "Commercialisation"
  368. }, {
  369. "id": 5,
  370. "title": "Évolutions"
  371. }],
  372. "user_role": [{
  373. "workspace": {
  374. "id": 0,
  375. "title": "Ressources humaine"
  376. },
  377. "role": "reader",
  378. "subscribed_to_notif": true
  379. }, {
  380. "workspace": {
  381. "id": 1,
  382. "title": "Marketing"
  383. },
  384. "role": "manager",
  385. "subscribed_to_notif": true
  386. }, {
  387. "workspace": {
  388. "id": 2,
  389. "title": "Missions externes"
  390. },
  391. "role": "contributor",
  392. "subscribed_to_notif": false
  393. }, {
  394. "workspace": {
  395. "id": 3,
  396. "title": "Recherche et développement"
  397. },
  398. "role": "content_manager",
  399. "subscribed_to_notif": true
  400. }, {
  401. "workspace": {
  402. "id": 4,
  403. "title": "Commercialisation"
  404. },
  405. "role": "reader",
  406. "subscribed_to_notif": false
  407. }, {
  408. "workspace": {
  409. "id": 5,
  410. "title": "Évolutions"
  411. },
  412. "role": "content_manager",
  413. "subscribed_to_notif": true
  414. }]
  415. }