static_db.json 10.0KB

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