Permalink
Browse files

add posts page

  • Loading branch information...
shprink committed Dec 28, 2016
1 parent 93c0b48 commit 6cd29731ad24a22ee7bf5215fbabbce0b561b5d4
Showing with 9,021 additions and 5,320 deletions.
  1. 0 .github/ISSUE_TEMPLATE.md
  2. +2 −4 .gitignore
  3. +0 −2 build/.gitignore
  4. +5 −217 config/config.default.cson
  5. +3 −1 ionic.config.json
  6. +3 −0 legacy/config/.gitignore
  7. +240 −0 legacy/config/config.default.cson
  8. 0 { → legacy/docs}/BUILD.md
  9. 0 { → legacy/docs}/CONFIGURATION.md
  10. 0 { → legacy/docs}/DEVELOPMENT.md
  11. 0 { → legacy/docs}/INSTALLATION.md
  12. 0 { → legacy/docs}/PUSHNOTIFICATIONS.md
  13. 0 { → legacy/docs}/RELEASE.md
  14. 0 { → legacy/docs}/SPLASHICONS.md
  15. 0 { → legacy}/hooks/after_prepare/010_add_platform_class.js
  16. 0 { → legacy}/hooks/after_prepare/030_modify_plist.sh
  17. 0 { → legacy}/hooks/before_platform_add/init_directories.js
  18. 0 { → legacy}/lib/abstract/AbstractItem.js
  19. 0 { → legacy}/lib/abstract/AbstractItemService.js
  20. 0 { → legacy}/lib/abstract/AbstractList.js
  21. 0 { → legacy}/lib/abstract/AbstractListService.js
  22. 0 { → legacy}/lib/accessibility/index.js
  23. 0 { → legacy}/lib/accessibility/index.scss
  24. 0 { → legacy}/lib/accessibility/service.js
  25. 0 { → legacy}/lib/analytics/analytics.config.coffee
  26. 0 { → legacy}/lib/angular-ios9-uiwebview.patch.js
  27. 0 { → legacy}/lib/appLoader/appLoader.js
  28. 0 { → legacy}/lib/appLoader/appLoader.scss
  29. 0 { → legacy}/lib/authors/author.controller.js
  30. 0 { → legacy}/lib/authors/author.service.js
  31. 0 { → legacy}/lib/authors/authors.controller.js
  32. 0 { → legacy}/lib/authors/authors.service.js
  33. 0 { → legacy}/lib/authors/config.js
  34. 0 { → legacy}/lib/authors/index.js
  35. 0 { → legacy}/lib/bookmark/config.js
  36. 0 { → legacy}/lib/bookmark/controller.js
  37. 0 { → legacy}/lib/bookmark/index.js
  38. 0 { → legacy}/lib/bookmark/index.scss
  39. 0 { → legacy}/lib/bookmark/service.js
  40. 0 { → legacy}/lib/cacheImg/cacheImg.directive.coffee
  41. 0 { → legacy}/lib/cacheImg/cacheImg.module.coffee
  42. 0 { → legacy}/lib/cacheImg/cacheImg.run.coffee
  43. 0 { → legacy}/lib/cacheImg/cacheImg.service.coffee
  44. 0 { → legacy}/lib/config.js
  45. 0 { → legacy}/lib/config/ionic.config.coffee
  46. 0 { → legacy}/lib/cordova/cordova.admob.js
  47. 0 { → legacy}/lib/cordova/cordova.analytics.coffee
  48. 0 { → legacy}/lib/cordova/cordova.appRate.coffee
  49. 0 { → legacy}/lib/cordova/cordova.globalization.coffee
  50. 0 { → legacy}/lib/cordova/cordova.inappbrowser.coffee
  51. 0 { → legacy}/lib/cordova/cordova.module.coffee
  52. 0 { → legacy}/lib/cordova/cordova.networkInformation.coffee
  53. 0 { → legacy}/lib/cordova/cordova.pushNotifications.js
  54. 0 { → legacy}/lib/cordova/cordova.socialsharing.coffee
  55. 0 { → legacy}/lib/cordova/cordova.statusbar.coffee
  56. 0 { → legacy}/lib/customPosts/config.js
  57. 0 { → legacy}/lib/customPosts/customPost.controller.js
  58. 0 { → legacy}/lib/customPosts/customPost.service.js
  59. 0 { → legacy}/lib/customPosts/customPosts.controller.js
  60. 0 { → legacy}/lib/customPosts/customPosts.service.js
  61. 0 { → legacy}/lib/customPosts/directives/item.js
  62. 0 { → legacy}/lib/customPosts/directives/list.js
  63. 0 { → legacy}/lib/customPosts/index.js
  64. 0 { → legacy}/lib/directives/author/index.js
  65. 0 { → legacy}/lib/directives/author/index.scss
  66. 0 { → legacy}/lib/directives/authors/index.html
  67. 0 { → legacy}/lib/directives/authors/index.js
  68. 0 { → legacy}/lib/directives/bindAndCompileHtml/bindAndCompileHtml.coffee
  69. 0 { → legacy}/lib/directives/comment/index.js
  70. 0 { → legacy}/lib/directives/comment/index.scss
  71. 0 { → legacy}/lib/directives/comments/index.js
  72. 0 { → legacy}/lib/directives/directives.scss
  73. 0 { → legacy}/lib/directives/emptyList/index.js
  74. 0 { → legacy}/lib/directives/emptyList/index.scss
  75. 0 { → legacy}/lib/directives/hideWhen/hideWhen.coffee
  76. 0 { → legacy}/lib/directives/href/href.coffee
  77. 0 { → legacy}/lib/directives/index.js
  78. 0 { → legacy}/lib/directives/inputEsc/inputEsc.coffee
  79. 0 { → legacy}/lib/directives/loader/index.js
  80. 0 { → legacy}/lib/directives/loader/index.scss
  81. 0 { → legacy}/lib/directives/menu/index.js
  82. 0 { → legacy}/lib/directives/menu/index.scss
  83. 0 { → legacy}/lib/directives/page/index.js
  84. 0 { → legacy}/lib/directives/page/index.scss
  85. 0 { → legacy}/lib/directives/pages/index.js
  86. 0 { → legacy}/lib/directives/pages/index.scss
  87. 0 { → legacy}/lib/directives/post/index.js
  88. 0 { → legacy}/lib/directives/post/index.scss
  89. 0 { → legacy}/lib/directives/postToolbar/index.js
  90. 0 { → legacy}/lib/directives/postToolbar/index.scss
  91. 0 { → legacy}/lib/directives/posts/index.js
  92. 0 { → legacy}/lib/directives/posts/index.scss
  93. 0 { → legacy}/lib/directives/showWhen/showWhen.coffee
  94. 0 { → legacy}/lib/directives/taxonomies/index.js
  95. 0 { → legacy}/lib/filters/index.js
  96. 0 { → legacy}/lib/filters/toArray.js
  97. 0 { → legacy}/lib/filters/truncate.js
  98. BIN { → legacy}/lib/font/Roboto.ttf
  99. BIN { → legacy}/lib/font/Roboto.woff
  100. BIN { → legacy}/lib/font/Roboto.woff2
  101. 0 { → legacy}/lib/font/font.coffee
  102. 0 { → legacy}/lib/font/font.scss
  103. BIN { → legacy}/lib/img/post-img-border.png
  104. 0 { → legacy}/lib/index.coffee
  105. 0 { → legacy}/lib/index.html
  106. 0 { → legacy}/lib/init/init.module.coffee
  107. 0 { → legacy}/lib/init/init.service.coffee
  108. 0 { → legacy}/lib/language/config.js
  109. 0 { → legacy}/lib/language/index.js
  110. 0 { → legacy}/lib/language/provider.js
  111. 0 { → legacy}/lib/language/run.js
  112. 0 { → legacy}/lib/loading/index.js
  113. 0 { → legacy}/lib/loading/service.js
  114. 0 { → legacy}/lib/menu/config.js
  115. 0 { → legacy}/lib/menu/controller.js
  116. 0 { → legacy}/lib/menu/index.js
  117. 0 { → legacy}/lib/pages/config.js
  118. 0 { → legacy}/lib/pages/index.js
  119. 0 { → legacy}/lib/pages/page.controller.js
  120. 0 { → legacy}/lib/pages/page.service.js
  121. 0 { → legacy}/lib/pages/pages.controller.js
  122. 0 { → legacy}/lib/pages/pages.service.js
  123. 0 { → legacy}/lib/params/config.js
  124. 0 { → legacy}/lib/params/controller.js
  125. 0 { → legacy}/lib/params/index.js
  126. 0 { → legacy}/lib/posts/config.js
  127. 0 { → legacy}/lib/posts/index.js
  128. 0 { → legacy}/lib/posts/post.controller.js
  129. 0 { → legacy}/lib/posts/post.service.js
  130. 0 { → legacy}/lib/posts/posts.controller.js
  131. 0 { → legacy}/lib/posts/posts.service.js
  132. 0 { → legacy}/lib/pushNotifications/config.js
  133. 0 { → legacy}/lib/pushNotifications/controller.js
  134. 0 { → legacy}/lib/pushNotifications/index.js
  135. 0 { → legacy}/lib/pushNotifications/service.js
  136. 0 { → legacy}/lib/scss/_animations.scss
  137. 0 { → legacy}/lib/scss/_bar.scss
  138. 0 { → legacy}/lib/scss/_code.scss
  139. 0 { → legacy}/lib/scss/_helpers.scss
  140. 0 { → legacy}/lib/scss/_ionic-override.scss
  141. 0 { → legacy}/lib/scss/_layout.scss
  142. 0 { → legacy}/lib/scss/_mixins.scss
  143. 0 { → legacy}/lib/scss/_post.scss
  144. 0 { → legacy}/lib/scss/_responsivity.scss
  145. 0 { → legacy}/lib/scss/_utilities.scss
  146. 0 { → legacy}/lib/scss/_variables.scss
  147. 0 { → legacy}/lib/scss/bootstrap.scss
  148. 0 { → legacy}/lib/search/config.js
  149. 0 { → legacy}/lib/search/controller.js
  150. 0 { → legacy}/lib/search/index.js
  151. 0 { → legacy}/lib/search/index.scss
  152. 0 { → legacy}/lib/search/service.js
  153. 0 { → legacy}/lib/service-worker.js
  154. 0 { → legacy}/lib/syntaxHighlighter/syntaxHighlighter.config.coffee
  155. 0 { → legacy}/lib/syntaxHighlighter/syntaxHighlighter.filter.coffee
  156. 0 { → legacy}/lib/syntaxHighlighter/syntaxHighlighter.module.coffee
  157. 0 { → legacy}/lib/taxonomies/category.service.js
  158. 0 { → legacy}/lib/taxonomies/config.js
  159. 0 { → legacy}/lib/taxonomies/controller.js
  160. 0 { → legacy}/lib/taxonomies/custom.service.js
  161. 0 { → legacy}/lib/taxonomies/customPosts.service.js
  162. 0 { → legacy}/lib/taxonomies/index.js
  163. 0 { → legacy}/lib/taxonomies/modal.html
  164. 0 { → legacy}/lib/taxonomies/posts.controller.js
  165. 0 { → legacy}/lib/taxonomies/service.js
  166. 0 { → legacy}/lib/taxonomies/tag.service.js
  167. 0 { → legacy}/lib/templates/directive/author.html
  168. 0 { → legacy}/lib/templates/directive/comment.html
  169. 0 { → legacy}/lib/templates/directive/comments.html
  170. 0 { → legacy}/lib/templates/directive/emptyList.html
  171. 0 { → legacy}/lib/templates/directive/loader.html
  172. 0 { → legacy}/lib/templates/directive/menu.html
  173. 0 { → legacy}/lib/templates/directive/page.html
  174. 0 { → legacy}/lib/templates/directive/pages.html
  175. 0 { → legacy}/lib/templates/directive/post.html
  176. 0 { → legacy}/lib/templates/directive/postToolbar.html
  177. 0 { → legacy}/lib/templates/directive/posts.html
  178. 0 { → legacy}/lib/templates/directive/taxonomies.html
  179. 0 { → legacy}/lib/templates/index.js
  180. 0 { → legacy}/lib/templates/module/about.html
  181. 0 { → legacy}/lib/templates/module/author.html
  182. 0 { → legacy}/lib/templates/module/authors.html
  183. 0 { → legacy}/lib/templates/module/bookmark.html
  184. 0 { → legacy}/lib/templates/module/customPosts-item.html
  185. 0 { → legacy}/lib/templates/module/customPosts-list.html
  186. 0 { → legacy}/lib/templates/module/menu.html
  187. 0 { → legacy}/lib/templates/module/pages-item.html
  188. 0 { → legacy}/lib/templates/module/pages-list.html
  189. 0 { → legacy}/lib/templates/module/params-pushNotifications.html
  190. 0 { → legacy}/lib/templates/module/params.html
  191. 0 { → legacy}/lib/templates/module/posts-item.html
  192. 0 { → legacy}/lib/templates/module/posts-list.html
  193. 0 { → legacy}/lib/templates/module/search.html
  194. 0 { → legacy}/lib/templates/module/taxonomies-list.html
  195. 0 { → legacy}/lib/translations/de.cson
  196. 0 { → legacy}/lib/translations/en.cson
  197. 0 { → legacy}/lib/translations/es.cson
  198. 0 { → legacy}/lib/translations/fr.cson
  199. 0 { → legacy}/lib/translations/it.cson
  200. 0 { → legacy}/lib/translations/nl.cson
  201. 0 { → legacy}/lib/translations/pl.cson
  202. 0 { → legacy}/lib/translations/pt.cson
  203. 0 { → legacy}/lib/translations/ru.cson
  204. 0 { → legacy}/lib/translations/tr.cson
  205. 0 { → legacy}/lib/translations/ur.cson
  206. 0 { → legacy}/lib/translations/zh.cson
  207. 0 { → legacy}/lib/views/ion-menu.html
  208. +141 −0 legacy/package.json
  209. +7,109 −0 legacy/yarn.lock
  210. +46 −116 package.json
  211. +48 −0 src/app/app.component.ts
  212. +61 −0 src/app/app.module.ts
  213. +16 −0 src/app/app.scss
  214. +7 −0 src/app/main.prod.ts
  215. +5 −0 src/app/main.ts
  216. +3 −0 src/assets/i18n/en.json
  217. BIN src/assets/icon/favicon.ico
  218. +14 −0 src/declarations.d.ts
  219. +41 −0 src/index.html
  220. +13 −0 src/manifest.json
  221. +18 −0 src/pages/home/home.html
  222. +3 −0 src/pages/home/home.scss
  223. +22 −0 src/pages/home/home.ts
  224. +7 −0 src/pages/index.ts
  225. +20 −0 src/pages/posts/posts.html
  226. +3 −0 src/pages/posts/posts.scss
  227. +28 −0 src/pages/posts/posts.ts
  228. +18 −0 src/providers/config.ts
  229. +6 −0 src/providers/index.ts
  230. +80 −0 src/service-worker.js
  231. +78 −0 src/theme/variables.scss
  232. +26 −0 tsconfig.json
  233. +11 −0 tslint.json
  234. +48 −0 webpack/config.js
  235. +0 −2 www/.gitignore
  236. +896 −4,978 yarn.lock
No changes.
View
@@ -41,7 +41,5 @@ iOS
cordova.plugin.backup
before_build.md
/config.xml
# v1 compatibility
/config.scss
/config.json
www/
myapp/
View

This file was deleted.

Oops, something went wrong.
View
222 config/config.default.cson 100755 → 100644
@@ -2,239 +2,27 @@
# BEWARE!!!
# THIS FILE CANNOT BE MODIFIED
# YOU CAN OVERWRITE ANY OF THE FOLLOWING IN config/config.cson
# JUST COPY AND PAST WHAT YOU NEED
# JUST COPY AND PAST WHAT YOU NEED TO CHANGE
###
"title": "Your Blog title"
# API
"api":
"baseUrl": "https://dev.julienrenaux.fr/wp-json"
"namespace": "/wp/v2"
"timeout": 30000
"maxAttempt": 3
"serviceWorker":
"enabled" : false
# IONIC
"ionicConfig":
"views":
"transition": null
"maxCache": 10
"forwardCache": false
"scrolling":
"jsScrolling": false
"backButton":
"icon": null
"previousTitleText": null
"form":
"checkbox": null
"toggle": null
"spinner":
"icon": null
"tabs":
"style": null
"position": null
"templates":
"maxPrefetch": null
"navBar":
"alignTitle": null
"positionPrimaryButtons": null
"positionSecondaryButtons": null
# MENU
"menu":
"externalLinkTarget" : null # _self|_blank|_system default: _system https://github.com/apache/cordova-plugin-inappbrowser#cordovainappbrowseropen
"externalLinkOptions": null # default: 'location=yes'
"defaultState":
"state": "public.posts"
"params": {}
"exposeAsideWhen": "(min-width:900px)"
"displayIcon": true # uses config/icons/icon_48.png
"side": [
]
# SETTINGS PAGE
"settings":
"parameters":
"defaultFontSize": "medium"
# CACHE
"cache":
"img":
"localCacheFolder": "imgcache"
"useDataURI": false
"chromeQuota": 10485760
"usePersistentCache": true
"cacheClearSize": 0
"headers": {}
"skipURIencoding": false
"data":
"capacity": 100
"maxAge": 10800000
"deleteOnExpire": "aggressive"
"recycleFreq": 1000
"cacheFlushInterval": null
"storageMode": "localStorage"
# BOOKMARK PAGE
"bookmark":
"cache":
"capacity": 10
# POST PAGES
"post":
"comments":
"enabled": true
"depth": 2
"per_page": 50
"cache":
"maxAge": 10800000
"capacity": 10
# SYNTAX HIGHLIGHTER FOR TECH BLOG
"syntaxHighlighter":
"enabled": false
"classPrefix": "hljs-"
"tabReplace": " "
"useBR": false
"languages": ["javascript", "html", "coffeescript", "html", "css", "scss", "json", "apache", "bash", "markdown", "less", "php", "apache", "typescript"]
# TAXONOMIES
"taxonomies":
"query":
"per_page": 20
"orderby": "count"
"order": "desc"
"cache":
"maxAge": 10800000
# AUTHOR
"authors":
"query":
"per_page": 5
"cache":
"capacity": 10
"maxAge": 10800000
# PAGES PAGE
"pages":
"query":
"per_page": 5
"orderby": "date"
"order": "desc"
"cache":
"capacity": 10
"maxAge": 10800000
# SEARCH PAGE
"search":
"query":
"per_page": 5
"orderby": "date"
"order": "desc"
"status": "publish"
"cache":
"capacity": 25
"maxAge": 10800000
# POSTS PAGE
"posts":
"query":
"per_page": 5
"orderby": "date"
"order": "desc"
"status": "publish"
"cache":
"capacity": 25
"maxAge": 10800000
# ANY CUSTOM POSTS (this is just an example with movie type)
"movie":
"query":
"per_page": 2
# TRANSLATIONS
"translation":
"displayed" : ["en", "fr", "zh", "es", "pl", "de", "pt", "it", "nl", "ru", "tr"]
"prefered": "en"
"available":
"en":
"en_*": "en"
"fr":
"fr_*": "fr"
"zh":
"zh_*": "zh"
"es":
"es_*": "es"
"pl":
"pl_*": "pl"
"de":
"de_*": "de"
"pt":
"pt_*": "pt"
"it":
"it_*": "it"
"nl":
"nl_*": "nl"
"ru":
"ru_*": "ru"
"tr":
"tr_*": "tr"
"ur":
"ur_*": "ur"
# ANALYTICS (GOOGLE ANALYTICS)
"analytics":
"enabled": false
"trackingId": ""
"userId": ""
"virtualPageTracking": true
# CORDOVA
"cordova":
"nativeTransitions":
"enabled": false
"defaultOptions": null
"defaultTransition" : null
"defaultBackTransition" : null
"statubar":
"show": true
"color": "#455a64"
"admob":
"enabled": false
"android":
"bannerID": null
"bannerPosition": "BOTTOM_CENTER"
"interstitialID": null
"ios":
"bannerID": null
"bannerPosition": "BOTTOM_CENTER"
"interstitialID": null
"windows":
"bannerID": null
"bannerPosition": "BOTTOM_CENTER"
"interstitialID": null
"appRate":
"enabled": false
"language": "en"
"appName": "Your Blog title"
"openStoreInApp": true
"usesUntilPrompt": 3
"promptForNewVersion": true
"useCustomRateDialog": ""
"iosURL": ""
"androidURL": ""
"windowsURL": ""
"pushNotifications":
"enabled": false
"baseUrl": "http://yourDomain.com/pnfw"
"android":
"senderID": ""
"ios":
"badge": true
"sound": true
"alert": true
"clearBadge": true
View
@@ -1,4 +1,6 @@
{
"name": "wordpress-hybrid-client",
"app_id": ""
"app_id": "",
"typescript": true,
"v2": true
}
View
@@ -0,0 +1,3 @@
*
!config.default.cson
!.gitignore
Oops, something went wrong.

0 comments on commit 6cd2973

Please sign in to comment.