Commit graph

20 commits

Author SHA1 Message Date
Hippo
badcebeb35 Make CSS output URL respect baseUrl setting
A typo was preventing this from happening: it was always trying
to load CSS from the root domain instead of one relative to the
base path.
2021-07-26 22:59:04 +05:30
Hippo
be12c945fa Account for null values in config.basePath
Instead of reading them as a literal string 'null' it now blanks
them out. Otherwise we were getting errors like "publicnull does
not exist"! 😬
2021-07-26 22:43:25 +05:30
Hippo
ae1aacd17c Allow Seance to be hosted on a subpath
Now, instead of having to host Seance right at example.com, you
can also host it underneath at example.com/seance by changing the
appropriate setting!
2021-07-25 21:46:03 +05:30
Hippo
1d80daba64 Include "Edit on Ghost" button when post is pushed
Convenient, isn't it? ;)
2021-03-30 16:03:43 +05:30
Hippo
1edee70807 Ignore duplicate titles and subtitles
The long-standing "make title proper" bug has finally been fixed.
Yayy! So now, basically, the title and subtitle gets set properly
even if Medium messed it up by showing some of them twice.
2021-03-29 21:52:12 +05:30
Hippo
302a74d679 Add helpful nudges for post-processing
Now provides a reminder to fix the title/subtitle/excerpt, and a
helpful URL of the final post destiation to publish on Buffer!

@manasakashi12 hope you find this useful!
2020-07-30 18:13:56 +05:30
Hippo
cfa30a3e73 Keep the connectiov alive when not in use
Otherwise, it times out and causes errors
2020-06-04 19:10:37 +05:30
Hippo
3e73b04725 Don't log ws messages (because they may have confidential info) 2020-05-14 22:36:41 +05:30
Hippo
406e54c018 Add (very rudimentary password check)
This also properly handles other errors if/when they come up
2020-05-14 22:34:27 +05:30
Hippo
4cfea0ac3d Allow Seance upload/download through websockets
It's all working! Yay!!
2020-05-14 22:05:29 +05:30
Hippo
9a9493a196 Remove trailing slash from routes 2020-05-12 16:17:25 +05:30
Hippo
958b846401 Temporarily fixes "render homepage instead of fetch page" bug
For some reason, loading /fetch runs the fetch page, but then
ends up rendering the / page instead. Can't figure it out, but
this solves it for now so let's go with it till we come up with a
proper solution :P
2020-05-12 16:15:18 +05:30
Hippo
490cb134cd Disable cache for now, because it messes up loading
Don't know why :(
2020-05-10 23:08:37 +05:30
Hippo
ee362e8954 Change host protocol depending on website and localhost
If you're on localhost, your protocol (http vs https) takes
precedence. If not, the other website's takes precedence, because
otherwise you could end up being blocked by security
2020-05-10 23:03:14 +05:30
Hippo
7ad8f7b3f8 Make Seance bookmarklet URLs relative
So it'll send people to the current Seance installation instead
of blindly directing them to localhost
2020-05-10 22:44:47 +05:30
Badri Sunderarajan
ba50455abd Server: save incoming JSON to file instead of discarding
This is the first step in actually saving and processing the thing
2020-05-08 15:43:34 +05:30
Hippo
8117d24b4c Set up Medium fetching via bookmarklet!
Currently this only loads post details; it doesn't process it
(ie. download images, etc.) yet.
2020-05-07 22:57:34 +05:30
Hippo
d2b2bfa2e2 Bugfix: CSS output path was relative instead of absolute 2020-05-07 22:56:18 +05:30
Hippo
35cdad01c2 Set up Bulma
Also, an empty directory (with a placeholder index.htm) to render
the static files
2020-05-05 19:22:46 +05:30
Hippo
2353195837 Set up skeleton server! 2020-05-05 18:40:41 +05:30