Commit graph

329 commits

Author SHA1 Message Date
884f92b5a5 return null explicitly for nullable return types 2017-03-01 21:08:18 +00:00
984f3c067b Apply fixes from StyleCI 2017-03-01 21:01:00 +00:00
fe8f871e3a Refactor slightly the indieauth code 2017-03-01 20:59:09 +00:00
4f57905bcc Refactor to deal with request and extract data to pass to service classes 2017-03-01 20:15:35 +00:00
8ac32f5783 Add strict return types to TokenService 2017-03-01 17:37:21 +00:00
a7ebc9a24f Rename admin controllers to reflect namespace 2017-03-01 17:16:48 +00:00
595b0c5e03 Update to use PHP 7.1, and its multiple exception catching 2017-02-27 22:22:52 +00:00
b255987423 Modify admin routes to make saner, remove TokensController 2017-02-27 22:08:42 +00:00
f6dc82a7d6 Proper test 2017-02-24 15:25:58 +00:00
5d0bb6c8ce print_r the syndication targets 2017-02-24 15:20:49 +00:00
32b5b057fa Try and get error messages working again 2017-02-24 15:15:58 +00:00
70d17006dd I think this will pass 2017-02-24 14:38:52 +00:00
ae9ed10f65 Generate a token on the fly if one doesn’t exist 2017-02-24 14:33:35 +00:00
e7407fb09c There’s an error somewhere 2017-02-24 14:24:57 +00:00
40723450ba Lets see what the syndication targets actually are 2017-02-24 14:19:01 +00:00
2bdfa7b96c Default for when theres no syndicate to key 2017-02-24 11:36:14 +00:00
83f5d6eb82 Try and add a random Example target 2017-02-24 11:28:52 +00:00
54f791e58b Update @param values on refresh syndication target method 2017-02-23 18:56:45 +00:00
ef50b48b31 Drop create note test to check syndication test 2017-02-23 09:15:25 +00:00
2ef6b93117 Remove logging 2017-02-23 08:59:56 +00:00
c6228f5541 Try and disable csrf protection 2017-02-23 08:50:15 +00:00
a632a8e2da Debug via log 2017-02-22 17:41:59 +00:00
a03ede18e0 Use the correct micoprub client URL in the generate token command 2017-02-20 17:13:19 +00:00
1c8f696024 Move admin controllers to own namespace, and give better method names 2017-02-18 21:36:22 +00:00
02d8de219e Remove un-needed use statement 2017-02-18 15:11:46 +00:00
072e09d5ea Tidy up the places controller 2017-02-18 14:30:14 +00:00
ebb13b905f Add Contacts tests 2017-02-18 14:16:22 +00:00
94969e7f97 Get Laravel Dusk installed using PhantomJS so it can work with Travis CI easily 2017-02-18 12:27:21 +00:00
1c03cb4cec Apply fixes from StyleCI 2017-02-16 15:45:14 +00:00
0ca17f2d0a Fix tests 2017-02-16 15:42:44 +00:00
b8c0724036 Lots of route and controller method names refactoring, which also necessitated editing of fetch methods in the front end es6 code 2017-02-16 15:35:25 +00:00
b4df7a1bbb Convert all env() calls to config() calls 2017-02-15 20:44:03 +00:00
e032cd5861 Refactor method names/views for the Micropub Client 2017-02-15 20:19:11 +00:00
4af305ba3b Refactor method names/views for Contacts 2017-02-15 18:41:54 +00:00
5edb495bcb Refactor method names/views for Notes 2017-02-15 18:39:39 +00:00
e320bec899 Refactor method names/views for Articles 2017-02-15 18:34:47 +00:00
c50d8a7b51 Tweaking of code, along with deleting cached view files have got tests working locally again 2017-02-15 15:21:14 +00:00
0a07811311 Squashed commit of the following:
commit 70d23bbd8fbdbeb3b6554e42ac4283396372f39d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Feb 3 21:40:55 2017 +0000

    Updade to Laravel 5.4
2017-02-03 21:49:49 +00:00
c0a4e220c4 Squashed commit of the following:
commit fea85fa8a47b4ccedb2b502b4537c6b261dc3eed
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Feb 3 16:41:57 2017 +0000

    Make emoji more accessible

commit 2bcb6e999b85aad361754f667ab8305db538176f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 27 20:51:50 2017 +0000

    Add an emoji into the seed file to test a11y
    techniques with.
2017-02-03 16:42:39 +00:00
13919c207e Squashed commit of the following:
commit ce110099a3a2e97a491c7a920126abda585b15f7
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 27 20:39:59 2017 +0000

    syndicate-to is now mp-syndicate-to
2017-01-27 20:41:17 +00:00
0b7bf7a378 Updating codebase to use es6/7
Squashed commit of the following:

commit 07b27d00f135a521143154a2e77abdc1680b7d5b
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Jan 26 14:59:35 2017 +0000

    Fix styleci.io issue

commit 9e67f0a96484f8047f22d13abb4cd41c2e44b95d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Jan 26 08:28:22 2017 +0000

    Remove some unused dependencies

commit 3c65070f3ff2aec10d821ae9f12821bc08e37d0a
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 25 18:00:10 2017 +0000

    Compressed webpack/babel output

commit 694c43d1a9a6c8cb84d4cc789a6643b8d2863cec
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 25 17:59:27 2017 +0000

    Let’s compress the es5 output

commit debffc0e41760fcc87e6d3768163e6ed8ea5d98c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 25 17:45:05 2017 +0000

    webpack/babel generated es5 assets

commit 1e978d6c5795f230ab320f94ad2fb98871bb6fa5
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 25 17:36:52 2017 +0000

    Allow content of micropub form page to be persisted

commit 44fb8026962ef574700f07ef93d18bdb38cdedb2
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 25 17:35:58 2017 +0000

    Name the micropub form

commit 732abaf561bf9d6392fe506d30d320e9c17b8226
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 25 17:34:39 2017 +0000

    Add webStorage dependency

commit a4520085dfc673c5c3d940150358b8ecc3cdf022
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Mon Jan 16 12:32:33 2017 +0000

    No need for a form id on the micropub form untill form autosave is added

commit a182be46a616d8e4085be5e24cbd3623f13cc28d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sat Jan 14 20:37:31 2017 +0000

    Polyfill fetch and promise only in older browsers using unpkg.com

commit fdc044150dc8e2b755f93119b196ba0455bbbb83
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 13 15:46:05 2017 +0000

    Generated js from webpack/babel

commit d24e6aa9fff38823a0c667e6f9e43dcb2ca179c4
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 13 15:45:32 2017 +0000

    Lots of es6 to generate and add map, particularly the new note form

commit e7004a9fe475e07d43de905fb00d51c659878474
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 13 15:44:54 2017 +0000

    Don’t link to commons.js, it aint being made at the moment

commit d4a2e4e143b644287f9da109eb2850c2361b2f20
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Jan 13 15:43:27 2017 +0000

    Temporarily don’t optimize JS

commit 05623de122da7d88642af60f85e5320a3ff651fc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 11 14:24:15 2017 +0000

    Add places to geojson data

commit 3eb1a4f29bb4263b9998a6f3f53abb7d1eeff520
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 11 14:22:53 2017 +0000

    Use alertify.js to give relevant feedback to user

commit 6f123fa178d6cd19528130ebd78157c37eaab1a1
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 11 14:21:24 2017 +0000

    Add alertify.css back

commit 89fca3b3aeb23ef97fb767514e0502298d1b83fd
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Jan 11 14:19:56 2017 +0000

    Webpack’d javascript

commit 94ab60f34079238ed6228bf6e789f14d7a09823b
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Mon Jan 9 09:10:17 2017 +0000

    Webpack’d javascript

commit 1ca3a55a27c20ea08633b589023fe5ad1acb2b68
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Mon Jan 9 09:09:06 2017 +0000

    Define const functions in order of usage

commit dc5535b32a357611860e0e98fcdc7d9c12c5d383
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 8 18:50:55 2017 +0000

    Link to correct js files with defer option

commit 42f0e5b85825943ed148736e8e0fe22f5654ae90
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 8 18:50:18 2017 +0000

    New webpacked es6 code

commit 300443bb0ce7b65bda1cf550fe5c7173a89edaf3
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 8 18:49:44 2017 +0000

    Moving towards consolidated es6 map code

commit b1001760e03dd358f896feb90dd3acc0bc6728fc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 8 18:44:40 2017 +0000

    Don’t mangle the fetch function

commit 289e59025634b6d2569b73ae87e3ea4942034e33
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Sun Jan 8 18:43:47 2017 +0000

    Updated yarn/npm dependencies

commit 3439b008e6bd96d8c45591c2a945c4ac246440ec
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 29 11:58:50 2016 +0000

    Link to the correct assets on the new note page

commit 81dc83e362266028f8336ae5a27e92c8c8a2b6dc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 29 11:57:46 2016 +0000

    Add a map to the new note page

commit 5101ecd3dd60cd78e9a4bce81a5e60a2f575bc57
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 29 11:56:54 2016 +0000

    Bundle common JS between entry points

commit 1f916adcfd1b07df388417b6bd800e109cec543c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 29 11:55:31 2016 +0000

    Add geojson to individual notes

commit 7a6ae8ca49b4ca49413ddb977f7b534f62b41c20
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Dec 28 19:53:30 2016 +0000

    Link to self-hosted mapbox-gl.css

commit 8be006ec2b738cbcebd06283e18c292b3efd7d16
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Dec 28 19:52:41 2016 +0000

    Use self-hosted mapbox-gl css, and a better default geojson title value

commit 5ec480842a2194a071b6a23ae181a8de5b8d47cd
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Dec 28 17:09:46 2016 +0000

    Access geojson data to markup map correctly

commit f2f1d7563f7b0cb7cc62658cc2817e56d2b47c31
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Dec 28 17:09:07 2016 +0000

    Generate geojson data for places

commit 9f8c9ba02f7ac37b4ab81aad2fb0cd2c077c45cd
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Dec 23 11:55:10 2016 +0000

    Use geojson to add a default you location point

commit 3da499d3ea6a214f8008d1b98f9b0c2f31ecba0c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 22 22:29:18 2016 +0000

    Some code cleaning

commit 39376097eda82491df272cc214d70ff3095d4873
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 22 22:21:29 2016 +0000

    Use satellite streets view

commit f3db8f43fc403bc180e24d63e21c8311441cb2b0
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 22 16:46:03 2016 +0000

    Semi working map state, still need to add own css, and add marker

commit 5f398a642b9db67f4b0733988c20138b37d2141d
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 22 13:17:04 2016 +0000

    Reference new maps.js with bundled mapbox

commit bad97649a623c5552e6b607a1975aa2de8131191
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Dec 22 13:16:25 2016 +0000

    Add mapbox-gl again

commit 47484962e7620aa7a9a5153cfc03e2ba4030dd5c
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Wed Dec 21 00:03:23 2016 +0000

    Early working version of maps.js

commit e53e0f39952a65996c09b06fd35918ffabed0de2
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Dec 20 17:14:17 2016 +0000

    Setup webpack

commit f930a1e2bd7d18809bd40d0cc22f9c3af75f1984
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Dec 20 15:00:42 2016 +0000

    Add webpack v2

commit b16e8d62db071155a8b5fb216d3d60ebf6fa9468
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Dec 20 14:53:47 2016 +0000

    Define default settings for babel

commit 97c13cb753e08d25aa48ecff579efa05173a2c81
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Dec 20 14:53:31 2016 +0000

    Add babeljs

commit dd9efc3b056cf96323d7f11acff0fb1ab137caef
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Tue Dec 20 14:49:23 2016 +0000

    Remove old javascript

commit ab99c251ad
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Dec 16 13:26:10 2016 +0000

    update readme to reflect changes to how syndication targets need to be set
2017-01-26 15:21:21 +00:00
e8c847579c Squashed commit of the following:
commit d0c1c0083ced0470500060f14d37cdfff3028795
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Dec 16 11:46:40 2016 +0000

    remove done @todo

commit f61a968bb8a7743c2b34ea3efcb25cfd73452cfc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Dec 16 11:43:22 2016 +0000

    Comment for using empty array

commit 9ad7cde20d259ff4527d315049e3df83f145fe0f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Fri Dec 16 11:42:18 2016 +0000

    Syndication targets are now dynamically checked
2016-12-16 11:49:15 +00:00
c9bff19efa Fix phpcs issues 2016-12-12 14:03:31 +00:00
885a061170 fix comments 2016-12-09 21:41:37 +00:00
bce3b52ce2 Use a middleware to define micropub dev token 2016-12-08 20:35:35 +00:00
fc5caf5392 Set a micropub token when not in production 2016-12-08 16:36:50 +00:00
e32cc59b81 Move micropub session stuff to its own service provider 2016-12-08 16:03:52 +00:00
cd324f72d5 Set the micropub token in a testing enviro 2016-12-08 15:52:26 +00:00
26fe6ff559 Style CI fix 2016-12-08 14:30:25 +00:00
e12b4d39ef Move syndication targets to a config file, fixes #27, also more dynamically generate micropub token 2016-12-08 14:28:42 +00:00