push_type_admin 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/push_type/admin.js.coffee +5 -0
- data/app/assets/javascripts/push_type/webpack/admin.bundle.js +50 -7
- data/app/assets/stylesheets/push_type/admin.scss +16 -0
- data/app/webpack/javascripts/admin.es6 +1 -0
- data/app/webpack/javascripts/directives/code-mirror.es6 +21 -0
- data/app/webpack/javascripts/directives/froala.es6 +2 -1
- data/config/initializers/haml.rb +1 -0
- data/test/dummy/config/initializers/push_type.rb +1 -1
- data/test/dummy/config/secrets.yml +2 -2
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/test.log +3029 -3031
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0n/0n67GfpBS6PDZYTXnAwed648vEtiYwQEPzWrZOcf-FY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/26/26Rojl3SXHFMRH3wipQX_4Px_TkKfZExlHX7S0hInj4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/4h/4hv14ZMv1Y6kGao1VCjaCsvJO30ghcgieUXQBe0LaHg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5m/5mmF9j4DBscNfKkZKJbQ6g9e7RJF2Bw2goq2YORppBg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5o/5ootBJO53weTWlJEJwmB_F44KEw9EFEajksBWORPlQM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6z/6zJqueD01RLZlJoYsJg0Sl8XVCUMXRvCo_3QyDmR_us.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/74/74aWVUwLzO0_I3tUV7SQC55F8bytCjUcj6G1Kaevlqw.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/7Y/7YAQcb12WI_1L8D133uz4DfgwGUeISDWYqnz7r8GimQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/8U/8U-_1tSLEXbatD4NJ21TmwIgrL8au4Wu_-04vEtSmUU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/CP/CP6rZC7zljW6sohmzHa82bq5zpd_g25pCN_9eJjrdFM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dw/Dw2U-pphgZufp67ddx-stkwOWbrOpP4s-5RxTRhEqak.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/F2/F2EZZyR248tAUGZR2QuQ62HQv-Mw6TVXTXJ3VmgNFOc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/IB/IBeR8Spy3bxmFGcb5DkLoqJARO4r88uMLOKd6yUYymc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/IX/IXWyhzEub11DtfKrWbVAOCw5PH3gEQzL8AKM0mXfKfY.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JL/JLqJfERv9URCaWxTP2itaLM1gsPxZlTml05XNSFAnK0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JZ/JZIvYiIU2oBHCcj6xKwQYIX-wKWGJcu2Xn8zVbyj0SA.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NK/NKiMUXCGXgskKHpk8yES1UTTF77e4FWF8N6g1Z_qR-Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Or/OrWHpSg-nrnOY7N8js-uv6EvsORvgd6GsNHAs7vwkWA.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/RB/RBONj9pxK-UuixsN0k8MTfyen-fT3VvOEEa9toJEWe8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/SM/SMxDtnwvxmGsswtkpyUdxYVGBvsmBGehY313mi6yodE.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sa/SamRugl_FKgRsKjXfw_3WFqulh-GmTknaVmUHf-bkWw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/U2/U2PFYeKmDkRPfW8x4WafCHUnJuJH5xMlX_G7HoBZpzI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Wp/WpcWnZ0dbynKGRNAwml1kgA7Gy4LoD--3592IokrZsw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/XO/XOM4CAK3clHIYUzGeG0ouQnAT9vlwwDXgjZNwiKoeF0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{yT/yTlyy65CgBnijX0JLeBUHlRNXRt3QNjo1mtFoptkuag.cache → Yi/YityXH14LR9b0XNgwkMF1W6TzDaWyFjUhiixVT6JQIA.cache} +1 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/_D/_DETqJMzs8BLtV54jI3Ro9OC-aZxdQruxTJxMR30Z00.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/a-/a-q40y6u8QdW5qJoN78Bpm5XMR7RbkGk6za98bvD3Sk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/cx/cxHCaLjjlHCHnXgn6lNaMULMy2es5esQBoNxUuqrsfk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/dl/dl21n_GeicdtgIfaZrr6yi3Sr5fK4A87x6A-sg9zYq0.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/eA/eAJ-DCLQ7Xgp9pqBLYVI4FHCGeiibFZa1MYXaQYq4d0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/f7/f7c-Z-QsNr1xniJVbxuxNMlzk4LyTkpc9s9NbU34y_w.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gv/gvTJKOGqqffIIQLpzxDbp8hI0AWtJ5UHNcnzLPIAcyE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/iI/Ii7vOnsBaYZBLo49RmFrZdDz9x14OCam1tMA-gRgjV4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/iU/IUSbTsQmZqRzNmGyKHx7vVmbTId0KR9ktR3gxsQLvrA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/il/ILqMXF0nSbW0qGMribe-9pMzX6PQt_28gkfczbxwXGc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/il/il2n9RrX0ptey2BWVjyu1RRA7mNnBWWa-W0WDapfYIg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/mJ/mJaKKfjJi8cZp9S0pmrsMdboxdd1V7czFm98Ep1FIvg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nP/NPP0CC_6BPzM3R-nAl-gc5KPDpSkW-cPQeyA_FAiUFU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{SE/sECbmx-KUIPls_nMJHYFjZerEWb2D34hdOIt3tkEQxA.cache → o2/o2KSR0XndCDxaMS3rw2giCnsXZb1AQlEy5L9cPrBfIU.cache} +1 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pU/pUlI2Ixvfvghl7u0tepMPFDfiLn_ePAvfdesJusXEj8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NX/nXTl5tcWo1wjRly_qH7HEQoNcykZBeUXD9m9a8JM_fo.cache → ps/pSmuh6RgefBnBss94whgcD17ZeOzrOdnwGxqhczlUlw.cache} +1 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/uc/ucnFJEOFfSCa1cF8HSy-Psh7Ze3-Jv_l68S6zPkaDQo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/v5/v5vZBssQDHPq5xS6jOzGfKDLp6iqJZWS7x92Wqo1CJw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/wF/wFriff6Uu7AbczjBI1jEVKVNtCGHhFR30Pl4S4CMCi8.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/wM/wmOGy8EZqaz8VTeqHV3XbrOAWOmS-PKDbzwGOqv05jo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/wN/wnSgfy8GaxJMQBP4I5u2YOrd1BAARYRBJ0aMvCaCMF0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xi/xitZGp74K7b3921y684t8Z9H5DLExTJ0sDMBCEmdats.cache +0 -0
- metadata +156 -110
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0y/0YCLR7InoF6O19l_oiELee0-MPt1nobJBXtygz3D08w.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2O/2OLh5fZO-Q6Bdj25MFNg-ANS96kfNSaaltqUuKDQ9s4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6v/6vaaMl8N6nDVJfvyl1gexnInwT8lBqL87Syoa7dblR8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/IJ/ij56MAwhaD2rP-XC4k86y_HYiFp2gLtvvTt2WF39cyk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mz/MzecCpC52Ha1S58J6mBKFizD05xAPAhuXJXS7bhr1MQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QX/QXMrfPu99Zz3SBsBnBOLe9Q_41u17p_R7J1cPXxqUHo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rp/RpwfBjPoy7BVzcbqWzToB40eVnWJzvq-Xbw6y_PyGDE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tv/TvwNB-tlUkkrHQx0Q67vEi4lixEPhh3qzDkMiysWd0g.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/bA/baAhJvV1skmZg8GLly38UpsddQbSD6zOZEw67x71Pf0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/e9/e9Y0SJ7XQA5VMQHj-o9XImnDLNFinNxkn77TdU5FyNU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gm/gmxfMT5bTs4WJVd0wADqYUrRbnpLYQP_q0u6lLG-8Kk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jA/jAMqyV31DIq4wNBkAl39CAPojNKjhrSpVRVVcbyyBB8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/nl/nlFCVuONKjJ7w_YU85QF8-KTKaLffgIHreKFkM3z2dY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ss/ssxOQQqcxmx6O_eGPoLYH0B3kPVQ0GhGa7HQPqDEA4A.cache +0 -1
- /data/test/dummy/db/migrate/{20160802195939_create_push_type_users.push_type.rb → 20160808143038_create_push_type_users.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160802195940_create_push_type_nodes.push_type.rb → 20160808143039_create_push_type_nodes.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160802195941_create_push_type_node_hierarchies.push_type.rb → 20160808143040_create_push_type_node_hierarchies.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160802195942_create_push_type_assets.push_type.rb → 20160808143041_create_push_type_assets.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160802195943_add_field_store_default_values.push_type.rb → 20160808143042_add_field_store_default_values.push_type.rb} +0 -0
- /data/test/dummy/db/migrate/{20160802195944_drop_legacy_push_type_taxonomies.push_type.rb → 20160808143043_drop_legacy_push_type_taxonomies.push_type.rb} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{6s → 6S}/6Sr7pH0VUOFOoyMGp9NSOSOV1GWQzKBOt2t0-EwMh1o.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{6v → 6V}/6VTJsaGBxdYY9oZPOh_ZEzVj60vKns1VbnTus5Y25mM.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{6Z → 6z}/6ZSC_l2r49UD2TdEZlwEdfAvKR4IRslBofKO1fuv1ss.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{7y → 7Y}/7ylHToOg7F5lt9v_uzR6ZM2A8Ayk-uId3mCLEiOrFek.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{AC → Ac}/ACdb1qTsZih_YI8DfMYnYjnSmN0-6lrYLOifn7kCvaA.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{6s/6seDqVBFITh4NDQPmKtKKK8nfB2_f-QUAnw6bdDjZkM.cache → Ac/Ac4y5XYJ7ga5OedsZXRNraL2_n9jGBQe9GwkWflmLoo.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{NK/NKmdRHhr8TJOukM5D2vFYlCJjz4SWvNes_Jcx9Ggfjg.cache → BG/bgZRRIE4ODfnPGAf9hn3DjGl6X-u5rC-WYllO1V6tWk.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{4f/4fmThs3CjZpWqXQcwQOsI_FsLkqSIZyVMFKGo6tcR10.cache → BY/BYiIdVaJ1hllslTmYz91jIPUIxp6w2QtIcrwutiqWzc.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{e9 → E9}/E920mm_wtPyhaCH_kmHQRwm6EuZrJFcNJapkNZZEZeA.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{gm → Gm}/Gm7cDGtEdtOyBdzGQ5fBOOiTCQmSg-yENryFiCASevY.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Ix → IX}/IxASzMm6XC6kDJnTISlnGMQCMjJgkZeSBsI4qpsOfOI.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{jL → JL}/jLiF9Fsde7THzDRTc8lAO8Uuyqz92AkFPvBkdtmNxPM.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{jz → JZ}/jzp7p0KEbE82gl5PFTuaRrHlRVdC26PswC6hTGKxFUo.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{OR → Or}/ORb3xYnHRSIgmNfyKCoExVAnflgyFKenNw0fP4ysD2c.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{OR → Or}/ORmrSAh6YnjeyeQfXeq4LMajmiSrRWlXHvskTM9tRRY.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{rB → RB}/rBs_0O4u0dq1Zg149gDrymbeRcF-lIDfEORYZBI0lYU.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{_d → _D}/_dyCheV64NW1k5WoytRgTEE3aOLVNtWTiZ8MqRzF71c.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{OR/OR6EfW6XMR92ItvBFzblFmUOwXuJ9qZV7eDkmhP9NwM.cache → a9/a9O7Cwro8KvzRs-oiOd1VHWQ-L9UsYnxuqNRkMpS7bY.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{8y/8yy81HvI3xCH7vqYZU5bnJRv8jyntNMVsaIzTg8pArE.cache → hV/hVShnWFrasQX-KT8LytlKRjTUgSXlOwqUj6uY7Zjohg.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{0k/0knaea7qy86YiCmyomOTT25y7cmnRjhagCxMJq563Dc.cache → hm/hmfiEeg__Weso4Dh5Z45XL1RvzeRO9IZgha2yNxy5-Y.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{IL → il}/ILlqbcI1ZltWMXe7sfrhTDUYnq9oPWHz8ai9w3md3Qc.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{pe/pe6rDkNCjqzYWQDv2D8E5DSxWiKOuESZdsXrBEXsbIY.cache → l5/l5VK7baYxVpJ7LpuPykJ7F-hA4mS6dwt1XXqaIcRBPo.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{hn/HNq6nWXCNk_dcVyHn32Cz57U4qpPgft7x2HLt31cUGA.cache → m8/M8l9HN7jmowYSJ63ACD_l8IWwtSF7X6kd-POQL50T3E.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{wO/wO_gV-1hQ7ZHWWfSK7MpM0RT7ff-YeNnS4J8xJPgOy4.cache → n5/n585QwYMQp-NZQmSGdBiWbQUvzg5zC3e1k6E-S1VfWc.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{O2 → o2}/O2hj3C6SDHJosN2JIAVAD0uEY_sQQFg9fX_BAKDr88M.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{pe → pE}/pEnth6g-i8MP-xnYEs46DsAyJBD5hW_xsFrlGYIqzeU.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{PU → pU}/PUK93IN6bm3w9EqmtyP2ZNpZe1KlJB_sPJh2mwB3e20.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{Rp → rP}/rP-mdTW6XkVqxrH08CP1QU_Ze-QOTy4b8mEzhaRH7ds.cache +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{q7/q7k8cQmziwvr35EdRgTQMsPiUg4ec6KhaySf__KsmWg.cache → rV/rv0gNOySEeOPlqb9I6MfGc4s-FnfqOuEYq4zsxy3CPM.cache} +0 -0
- /data/test/dummy/tmp/cache/assets/sprockets/v3.0/{xI → xi}/xI2Ao0p_oz5uv0ZoBKH_39T9l5ocTQrORy22q7ClK7s.cache +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f76d34eb1c86d812216610a8bdf0c3b92680286
|
4
|
+
data.tar.gz: 7a3ae2b951f40228918b93e73adb75b8fdad1a6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32952155ea63e3d194b19ed775ef5095b1c1366229e7a785a1428db55387938f4388c0fc511ae2132b86818b73d313efbcfca404bf576d5853bf4d959c1fd437
|
7
|
+
data.tar.gz: 39d161d62149b8f310123e1031e13587ba1ab869b66ffaf70465e6b586a52dc77bc2cba7f681d016ed203df4d0b820e2502bdb9e370c45a269cc1fdedee39339
|
@@ -23,7 +23,11 @@
|
|
23
23
|
#= require pickadate/picker.date
|
24
24
|
#= require pickadate/picker.time
|
25
25
|
#= require codemirror
|
26
|
+
#= require codemirror/addons/mode/overlay.js
|
27
|
+
#= require codemirror/addons/edit/continuelist.js
|
26
28
|
#= require codemirror/modes/xml
|
29
|
+
#= require codemirror/modes/markdown
|
30
|
+
#= require codemirror/modes/gfm
|
27
31
|
#= require froala_editor.min
|
28
32
|
#= require ./wysiwyg_setup
|
29
33
|
#= require ./vue_setup
|
@@ -37,3 +41,4 @@ Math.uid = -> Math.floor(Math.random()*16777215).toString(16)
|
|
37
41
|
$(document).on 'init.fndtn', (e) ->
|
38
42
|
$(e.target).foundation()
|
39
43
|
$(e.target).confirmWithReveal() if $(e.target).find('[data-confirm]').length
|
44
|
+
|
@@ -92,10 +92,12 @@
|
|
92
92
|
|
93
93
|
__webpack_require__(149);
|
94
94
|
|
95
|
-
__webpack_require__(
|
95
|
+
__webpack_require__(150);
|
96
96
|
|
97
97
|
__webpack_require__(152);
|
98
98
|
|
99
|
+
__webpack_require__(153);
|
100
|
+
|
99
101
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
100
102
|
|
101
103
|
_exposeVueVue2.default.use(_vueResource2.default);
|
@@ -48655,7 +48657,8 @@
|
|
48655
48657
|
|
48656
48658
|
var opts = {
|
48657
48659
|
full: {
|
48658
|
-
|
48660
|
+
toolbarButtons: ['bold', 'italic', 'underline', '|', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'insertTable', '|', 'insertLink', 'insertImage', 'insertVideo', 'insertFile', '|', 'undo', 'redo', 'clearFormatting', 'fullscreen', '|', 'html'],
|
48661
|
+
toolbarButtonsMD: ['bold', 'italic', 'underline', '|', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'insertTable', '|', 'insertLink', '|', 'undo', 'redo', 'clearFormatting', '|', 'html']
|
48659
48662
|
},
|
48660
48663
|
text: {
|
48661
48664
|
toolbarButtons: ['bold', 'italic', 'underline', '|', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'insertTable', '|', 'insertLink', '|', 'undo', 'redo', 'clearFormatting', '|', 'html'],
|
@@ -48714,6 +48717,46 @@
|
|
48714
48717
|
|
48715
48718
|
var _vue2 = _interopRequireDefault(_vue);
|
48716
48719
|
|
48720
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
48721
|
+
|
48722
|
+
var opts = {
|
48723
|
+
'markdown': {
|
48724
|
+
mode: 'gfm',
|
48725
|
+
lineNumbers: false,
|
48726
|
+
matchBrackets: true,
|
48727
|
+
lineWrapping: true,
|
48728
|
+
theme: 'base16-light',
|
48729
|
+
extraKeys: {
|
48730
|
+
'Enter': 'newlineAndIndentContinueMarkdownList'
|
48731
|
+
}
|
48732
|
+
}
|
48733
|
+
};
|
48734
|
+
|
48735
|
+
exports.default = _vue2.default.directive('code-mirror', {
|
48736
|
+
params: ['code-mirror-mode'],
|
48737
|
+
bind: function bind() {
|
48738
|
+
var _this = this;
|
48739
|
+
|
48740
|
+
setTimeout(function () {
|
48741
|
+
CodeMirror.fromTextArea(_this.el, opts[_this.params.codeMirrorMode]);
|
48742
|
+
}, 50);
|
48743
|
+
}
|
48744
|
+
});
|
48745
|
+
|
48746
|
+
/***/ },
|
48747
|
+
/* 149 */
|
48748
|
+
/***/ function(module, exports, __webpack_require__) {
|
48749
|
+
|
48750
|
+
'use strict';
|
48751
|
+
|
48752
|
+
Object.defineProperty(exports, "__esModule", {
|
48753
|
+
value: true
|
48754
|
+
});
|
48755
|
+
|
48756
|
+
var _vue = __webpack_require__(8);
|
48757
|
+
|
48758
|
+
var _vue2 = _interopRequireDefault(_vue);
|
48759
|
+
|
48717
48760
|
var _jquery = __webpack_require__(6);
|
48718
48761
|
|
48719
48762
|
var _jquery2 = _interopRequireDefault(_jquery);
|
@@ -48739,7 +48782,7 @@
|
|
48739
48782
|
});
|
48740
48783
|
|
48741
48784
|
/***/ },
|
48742
|
-
/*
|
48785
|
+
/* 150 */
|
48743
48786
|
/***/ function(module, exports, __webpack_require__) {
|
48744
48787
|
|
48745
48788
|
'use strict';
|
@@ -48752,7 +48795,7 @@
|
|
48752
48795
|
|
48753
48796
|
var _vue2 = _interopRequireDefault(_vue);
|
48754
48797
|
|
48755
|
-
var _numeral = __webpack_require__(
|
48798
|
+
var _numeral = __webpack_require__(151);
|
48756
48799
|
|
48757
48800
|
var _numeral2 = _interopRequireDefault(_numeral);
|
48758
48801
|
|
@@ -48763,7 +48806,7 @@
|
|
48763
48806
|
});
|
48764
48807
|
|
48765
48808
|
/***/ },
|
48766
|
-
/*
|
48809
|
+
/* 151 */
|
48767
48810
|
/***/ function(module, exports, __webpack_require__) {
|
48768
48811
|
|
48769
48812
|
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
@@ -49448,7 +49491,7 @@
|
|
49448
49491
|
|
49449
49492
|
|
49450
49493
|
/***/ },
|
49451
|
-
/*
|
49494
|
+
/* 152 */
|
49452
49495
|
/***/ function(module, exports, __webpack_require__) {
|
49453
49496
|
|
49454
49497
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;;(function(root, factory) {
|
@@ -49883,7 +49926,7 @@
|
|
49883
49926
|
|
49884
49927
|
|
49885
49928
|
/***/ },
|
49886
|
-
/*
|
49929
|
+
/* 153 */
|
49887
49930
|
/***/ function(module, exports, __webpack_require__) {
|
49888
49931
|
|
49889
49932
|
var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// Sticky Plugin v1.0.3 for jQuery
|
@@ -15,6 +15,7 @@
|
|
15
15
|
*= require pickadate/classic.date
|
16
16
|
*= require pickadate/classic.time
|
17
17
|
*= require codemirror
|
18
|
+
*= require codemirror/themes/base16-light
|
18
19
|
*= require codemirror/themes/material
|
19
20
|
*= require froala_editor.min
|
20
21
|
*= require froala_style.min
|
@@ -994,6 +995,7 @@ form .asset-upload {
|
|
994
995
|
box-shadow: $input-box-shadow !important;
|
995
996
|
|
996
997
|
.focus & {
|
998
|
+
background: $input-focus-bg-color !important;
|
997
999
|
border-color: $input-focus-border-color !important;
|
998
1000
|
}
|
999
1001
|
}
|
@@ -1008,4 +1010,18 @@ form .asset-upload {
|
|
1008
1010
|
font-weight: 400;
|
1009
1011
|
}
|
1010
1012
|
|
1013
|
+
.CodeMirror {
|
1014
|
+
margin-bottom: rem-calc(16);
|
1015
|
+
height: 400px;
|
1016
|
+
font-family: $font-family-monospace;
|
1017
|
+
background: $input-bg-color !important;
|
1018
|
+
border: 1px solid $input-border-color;
|
1019
|
+
box-shadow: $input-box-shadow;
|
1020
|
+
|
1021
|
+
&.CodeMirror-focused {
|
1022
|
+
background: $input-focus-bg-color !important;
|
1023
|
+
border-color: $input-focus-border-color;
|
1024
|
+
}
|
1025
|
+
}
|
1026
|
+
|
1011
1027
|
@import "foundation-icons";
|
@@ -20,6 +20,7 @@ import './directives/asset-upload.es6';
|
|
20
20
|
import './directives/pickadate.es6';
|
21
21
|
import './directives/selectize.es6';
|
22
22
|
import './directives/froala.es6';
|
23
|
+
import './directives/code-mirror.es6';
|
23
24
|
import './directives/simple-pagination.es6';
|
24
25
|
|
25
26
|
// Filters
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import Vue from 'vue';
|
2
|
+
|
3
|
+
const opts = {
|
4
|
+
'markdown': {
|
5
|
+
mode: 'gfm',
|
6
|
+
lineNumbers: false,
|
7
|
+
matchBrackets: true,
|
8
|
+
lineWrapping: true,
|
9
|
+
theme: 'base16-light',
|
10
|
+
extraKeys: {
|
11
|
+
'Enter': 'newlineAndIndentContinueMarkdownList'
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
export default Vue.directive('code-mirror', {
|
17
|
+
params: ['code-mirror-mode'],
|
18
|
+
bind: function() {
|
19
|
+
setTimeout(() => { CodeMirror.fromTextArea(this.el, opts[this.params.codeMirrorMode]) }, 50)
|
20
|
+
}
|
21
|
+
})
|
@@ -22,7 +22,8 @@ const defaults = {
|
|
22
22
|
|
23
23
|
const opts = {
|
24
24
|
full: {
|
25
|
-
|
25
|
+
toolbarButtons: ['bold', 'italic', 'underline', '|', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'insertTable', '|', 'insertLink', 'insertImage', 'insertVideo', 'insertFile', '|', 'undo', 'redo', 'clearFormatting', 'fullscreen', '|', 'html'],
|
26
|
+
toolbarButtonsMD: ['bold', 'italic', 'underline', '|', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'insertTable', '|', 'insertLink', '|', 'undo', 'redo', 'clearFormatting', '|', 'html'],
|
26
27
|
},
|
27
28
|
text: {
|
28
29
|
toolbarButtons: ['bold', 'italic', 'underline', '|', 'paragraphFormat', 'align', 'formatOL', 'formatUL', 'insertTable', '|', 'insertLink', '|', 'undo', 'redo', 'clearFormatting', '|', 'html'],
|
@@ -0,0 +1 @@
|
|
1
|
+
Haml::Template.options[:ugly] = true
|
@@ -45,6 +45,6 @@ PushType.setup do |config|
|
|
45
45
|
# secret_access_key: ENV['SECRET_ACCESS_KEY_ID']
|
46
46
|
# }
|
47
47
|
|
48
|
-
# config.dragonfly_secret = '
|
48
|
+
# config.dragonfly_secret = '652782af5572b84e2f69be6b82fd0a6e822c2ffe51933428cddf11853de15a34'
|
49
49
|
|
50
50
|
end
|
@@ -11,10 +11,10 @@
|
|
11
11
|
# if you're sharing your code publicly.
|
12
12
|
|
13
13
|
development:
|
14
|
-
secret_key_base:
|
14
|
+
secret_key_base: b8b257403284d0d91b1e54a0ff122b9cffa5c72d942e27ffc7fd998119e34e2c8cf529b83d89e70ae6ed6f041a277eb4b586da73aabd650ffa937623d19be1f1
|
15
15
|
|
16
16
|
test:
|
17
|
-
secret_key_base:
|
17
|
+
secret_key_base: a4896127f09bba2e463540cd5d4b6b6874218615487a026c5514e46163d1ed6f690595f3ec37d5cbbccd5fb08d01769ed2c6bb49c812299fd2ec642dec2f933f
|
18
18
|
|
19
19
|
# Do not keep production secrets in the repository,
|
20
20
|
# instead read values from the environment.
|
data/test/dummy/db/schema.rb
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
13
|
+
ActiveRecord::Schema.define(version: 20160808143043) do
|
14
14
|
|
15
15
|
# These are extensions that must be enabled in order to support this database
|
16
16
|
enable_extension "plpgsql"
|