Page MenuHomeWrite.as
Feed All Stories

Jun 15 2019

GitHub <noreply@github.com> closed T555: Automated upgrades as Resolved by committing rWF2b8b52285d84: Merge pull request #122 from writeas/update-script.
Jun 15 2019, 12:36 AM · WriteFreely (v1.0)
robjloranger committed rWF075f25b829dd: fix: update script: non-standard version numbers (authored by robjloranger).
fix: update script: non-standard version numbers
Jun 15 2019, 12:29 AM

Jun 14 2019

matt committed rWF872ec4809b71: Tweak status wording (authored by matt).
Tweak status wording
Jun 14 2019, 11:51 PM
matt committed rWF4c34b3473662: Exit when no writefreely executable found (authored by matt).
Exit when no writefreely executable found
Jun 14 2019, 11:51 PM
GitHub <noreply@github.com> committed rWFac7d72743515: Merge pull request #102 from writeas/librarization (authored by matt).
Merge pull request #102 from writeas/librarization
Jun 14 2019, 11:25 PM
matt committed rWF36b160b706c7: Add TODO for multierror (authored by matt).
Add TODO for multierror
Jun 14 2019, 11:12 PM
matt committed rWF97ac95035088: Add TODO for multierror (authored by matt).
Add TODO for multierror
Jun 14 2019, 11:11 PM
matt committed rWFf38a135bfa72: Remove global hostName var (authored by matt).
Remove global hostName var
Jun 14 2019, 10:58 PM
robjloranger committed rWFf6ba1fc9c8a0: update script: error check restarting service (authored by robjloranger).
update script: error check restarting service
Jun 14 2019, 5:09 PM
matt added a comment to T555: Automated upgrades.

Perfect 👍

Jun 14 2019, 5:09 PM · WriteFreely (v1.0)
robjloranger added a comment to T555: Automated upgrades.

Jun 14 2019, 5:08 PM · WriteFreely (v1.0)
robjloranger added a comment to T555: Automated upgrades.

sure, I'll add that in.

Jun 14 2019, 4:59 PM · WriteFreely (v1.0)
robjloranger committed rWF0c44fe1c2ead: add update script (authored by robjloranger).
add update script
Jun 14 2019, 4:57 PM
matt added a comment to T555: Automated upgrades.

Nice, this looks great!

Jun 14 2019, 4:47 PM · WriteFreely (v1.0)
robjloranger added a comment to T555: Automated upgrades.

quick ascii cast demo, running on my local machine so the restart fails as it's not running.
https://asciinema.org/a/8IaQxRBjRA955cm8Jjy86XtPi

Jun 14 2019, 4:42 PM · WriteFreely (v1.0)
matt changed the edit policy for T245: Import posts from other platforms.
Jun 14 2019, 2:12 PM · Roadmap, Import, WriteFreely, Write.as Web
matt committed rWF26a099001440: Save config via Apper interface from Admin dash (authored by matt).
Save config via Apper interface from Admin dash
Jun 14 2019, 1:59 AM
GitHub <noreply@github.com> committed rWFd5c2fe47da05: Merge branch 'develop' into librarization (authored by matt).
Merge branch 'develop' into librarization
Jun 14 2019, 12:45 AM
matt committed rWF830b859421fd: Fix activitypub.go imports (authored by matt).
Fix activitypub.go imports
Jun 14 2019, 12:44 AM
matt committed rWFa10a4e9a28f7: Merge branch 'develop' into librarization (authored by matt).
Merge branch 'develop' into librarization
Jun 14 2019, 12:40 AM
matt committed rWFbe0547a62ced: Include schema.sql when built with wflib tag (authored by matt).
Include schema.sql when built with wflib tag
Jun 14 2019, 12:30 AM

Jun 13 2019

robjloranger claimed T555: Automated upgrades.
Jun 13 2019, 11:17 PM · WriteFreely (v1.0)
matt committed rWFed4aacd1ac6a: Move static file ServeMux to App struct (authored by matt).
Move static file ServeMux to App struct
Jun 13 2019, 10:54 PM
matt committed rWF034db22f8c29: Break functionality out of Serve() func (authored by matt).
Break functionality out of Serve() func
Jun 13 2019, 10:54 PM
matt added a comment to T555: Automated upgrades.

Yeah, a button like that would be the end-goal. And maybe pair that with T579: WriteFreely daemon to make it all seamless.

Jun 13 2019, 10:14 PM · WriteFreely (v1.0)
matt added a comment to T572: Check for updates.

An authoritative source for checking the current version number: https://version.writefreely.org

Jun 13 2019, 10:13 PM · WriteFreely
robjloranger added a comment to T555: Automated upgrades.

I guess initially just a script would work. I haven't looked yet but the a go utillity would be nice, the admin could then just have a check for updates button which could then ask to download and confirm upgrade/restart.

Jun 13 2019, 10:07 PM · WriteFreely (v1.0)
matt added a parent task for T555: Automated upgrades: Unknown Object (Maniphest Task).
Jun 13 2019, 10:07 PM · WriteFreely (v1.0)
matt removed a subtask for T572: Check for updates: Unknown Object (Maniphest Task).
Jun 13 2019, 10:06 PM · WriteFreely
matt updated subscribers of T555: Automated upgrades.

@robjloranger What do you think would be the best way to do this to help with T600? A single Go-based utility? A simple bash script?

Jun 13 2019, 10:05 PM · WriteFreely (v1.0)
robjloranger committed rWCLI36477afe2a60: remove local post save and delete (authored by robjloranger).
remove local post save and delete
Jun 13 2019, 9:32 PM
robjloranger committed rWCLIe5554b745ce0: update documentation for v2 (authored by robjloranger).
update documentation for v2
Jun 13 2019, 9:32 PM
matt committed rWFf8de8f7f21ec: Merge branch 'librarization' of github.com:writeas/writefreely into… (authored by matt).
Merge branch 'librarization' of github.com:writeas/writefreely into…
Jun 13 2019, 5:48 PM
matt committed rWFeb6349f93ad4: Allow compiling without go-sql-driver/mysql pkg (authored by matt).
Allow compiling without go-sql-driver/mysql pkg
Jun 13 2019, 5:48 PM
matt committed rWF23acabaeb338: Use db.isDuplicateKeyErr() in activitypub.go (authored by matt).
Use db.isDuplicateKeyErr() in activitypub.go
Jun 13 2019, 5:48 PM
matt committed rWF584fe4fb93ff: Support changing default landing path (authored by matt).
Support changing default landing path
Jun 13 2019, 5:48 PM
matt committed rWF758269e3d8fc: Move key generation and Keychain to key pkg (authored by matt).
Move key generation and Keychain to key pkg
Jun 13 2019, 5:48 PM
robjloranger committed rWCLI8e49509b92ea: revert to go-writeas v2.0.0 (authored by robjloranger).
revert to go-writeas v2.0.0
Jun 13 2019, 5:17 PM
robjloranger added a comment to T645: Collection should default to username.

ok, super strange but it does work now without the collection being sent.

Jun 13 2019, 5:16 PM · WriteFreely CLI, Restricted Project
matt added a reverting change for rWGO8463946e2d6b: Merge pull request #18 from writeas/include-coll: rWGOada6b850c1da: Revert "Merge pull request #18 from writeas/include-coll".
Jun 13 2019, 2:01 PM
matt added a reverted change for rWGOada6b850c1da: Revert "Merge pull request #18 from writeas/include-coll": rWGO8463946e2d6b: Merge pull request #18 from writeas/include-coll.
Revert "Merge pull request #18 from writeas/include-coll"
Jun 13 2019, 2:01 PM
matt added a comment to T645: Collection should default to username.

Sounds good. I'll go ahead and revert it.

Jun 13 2019, 1:56 PM · WriteFreely CLI, Restricted Project
robjloranger added a comment to T645: Collection should default to username.

OK, let's revert that commit and I will test more to see what the real problem is.

Jun 13 2019, 1:54 PM · WriteFreely CLI, Restricted Project
matt added a comment to T645: Collection should default to username.

No worries. Yeah, the library should be taking the parameter and using it to change the endpoint, as is done here in post.go

Jun 13 2019, 1:53 PM · WriteFreely CLI, Restricted Project
robjloranger added a comment to T645: Collection should default to username.

Sorry I missed that part. I admit I was eager to do some work yesterday.

Jun 13 2019, 1:50 PM · WriteFreely CLI, Restricted Project
matt added a comment to T645: Collection should default to username.

So, the PostParams.Collection field was left out of the JSON because it shouldn't ever get sent along with the payload. Instead it's used to set the API endpoint in go-writeas, e.g. /api/collections/{Collection}/posts. Is there another reason it's needed in the JSON?

Jun 13 2019, 1:12 PM · WriteFreely CLI, Restricted Project
robjloranger moved T585: Store publishing preferences in config.ini from Soon to Next Up on the WriteFreely CLI board.
Jun 13 2019, 3:08 AM · WriteFreely CLI, Write.as CLI
robjloranger removed a project from T601: load global config from file: Restricted Project.
Jun 13 2019, 3:08 AM · Refactor, WriteFreely CLI, Write.as CLI
robjloranger moved T586: Support any WriteFreely instance from In Progress to Complete on the WriteFreely CLI board.
Jun 13 2019, 3:08 AM · Restricted Project, WriteFreely CLI, Restricted Project
robjloranger committed rWCLI420ea62d5dba: use v2.0.1 go-writeas (authored by robjloranger).
use v2.0.1 go-writeas
Jun 13 2019, 3:08 AM
robjloranger committed rWCLI238740131af4: default to user collection (authored by robjloranger).
default to user collection
Jun 13 2019, 3:08 AM
robjloranger moved T645: Collection should default to username from In Progress to Complete on the WriteFreely CLI board.
Jun 13 2019, 3:06 AM · WriteFreely CLI, Restricted Project
robjloranger removed a project from T645: Collection should default to username: API Library: Go.

fixed upstream issue, v2.0.1

Jun 13 2019, 3:06 AM · WriteFreely CLI, Restricted Project
GitHub <noreply@github.com> committed rWGO8463946e2d6b: Merge pull request #18 from writeas/include-coll (authored by robjloranger).
Merge pull request #18 from writeas/include-coll
Jun 13 2019, 2:43 AM
robjloranger moved T611: Detailed posts list from Next Up to In Progress on the Write.as CLI board.
Jun 13 2019, 2:20 AM · WriteFreely CLI, Write.as CLI
robjloranger removed a project from T596: add config wizard: Restricted Project.
Jun 13 2019, 2:19 AM · WriteFreely CLI, Write.as CLI
robjloranger moved T601: load global config from file from Soon to Next Up on the WriteFreely CLI board.
Jun 13 2019, 2:19 AM · Refactor, WriteFreely CLI, Write.as CLI
robjloranger moved T585: Store publishing preferences in config.ini from Backlog to Soon on the WriteFreely CLI board.
Jun 13 2019, 2:18 AM · WriteFreely CLI, Write.as CLI
robjloranger moved T601: load global config from file from Backlog to Soon on the WriteFreely CLI board.
Jun 13 2019, 2:18 AM · Refactor, WriteFreely CLI, Write.as CLI
robjloranger added a project to T596: add config wizard: WriteFreely CLI.
Jun 13 2019, 2:16 AM · WriteFreely CLI, Write.as CLI

Jun 12 2019

robjloranger added a project to T601: load global config from file: WriteFreely CLI.

Will be both, I'm thinking of loading the config at the start of each command and pass it down through calls. Some command paths may call LoadConfig 2 or 3 times which is a waste.

Jun 12 2019, 7:36 PM · Refactor, WriteFreely CLI, Write.as CLI
robjloranger moved T611: Detailed posts list from Complete to In Progress on the WriteFreely CLI board.

In progress as there is no writefreely CLI yet on that branch

Jun 12 2019, 7:14 PM · WriteFreely CLI, Write.as CLI
robjloranger moved T611: Detailed posts list from Next Up to Complete on the WriteFreely CLI board.
Jun 12 2019, 7:13 PM · WriteFreely CLI, Write.as CLI
robjloranger committed rWCLI33b57f10ecab: ref T611 detailed post list (authored by robjloranger).
ref T611 detailed post list
Jun 12 2019, 7:11 PM
robjloranger moved T611: Detailed posts list from Near Future to Next Up on the Write.as CLI board.
Jun 12 2019, 6:50 PM · WriteFreely CLI, Write.as CLI
robjloranger committed rWGO3e525f7a2427: include collection and id in postparams (authored by robjloranger).
include collection and id in postparams
Jun 12 2019, 2:46 AM
robjloranger moved T645: Collection should default to username from Backlog to Next Up on the API Library: Go board.
Jun 12 2019, 2:39 AM · WriteFreely CLI, Restricted Project
robjloranger added a project to T645: Collection should default to username: API Library: Go.
Jun 12 2019, 2:39 AM · WriteFreely CLI, Restricted Project
robjloranger added a comment to T645: Collection should default to username.

in go-writeas PostParams tells JSON to ignore the Collection field

Jun 12 2019, 2:37 AM · WriteFreely CLI, Restricted Project
robjloranger added a comment to T586: Support any WriteFreely instance.

I've got a weird issue, maybe it is by design.

I can not create a new anonymous post against my single user instance using wf. Which would be writeas in the other. The default Post command.

Jun 12 2019, 2:28 AM · Restricted Project, WriteFreely CLI, Restricted Project
robjloranger moved T645: Collection should default to username from Backlog to In Progress on the WriteFreely CLI board.
Jun 12 2019, 2:17 AM · WriteFreely CLI, Restricted Project
robjloranger created T645: Collection should default to username.
Jun 12 2019, 2:17 AM · WriteFreely CLI, Restricted Project
robjloranger added a comment to T586: Support any WriteFreely instance.

I've got a weird issue, maybe it is by design.

Jun 12 2019, 12:58 AM · Restricted Project, WriteFreely CLI, Restricted Project
robjloranger moved T586: Support any WriteFreely instance from Complete to In Progress on the WriteFreely CLI board.
Jun 12 2019, 12:57 AM · Restricted Project, WriteFreely CLI, Restricted Project
robjloranger committed rWCLIe1c725880d17: local posts should use host dir (authored by robjloranger).
local posts should use host dir
Jun 12 2019, 12:56 AM

Jun 11 2019

robjloranger added a project to T585: Store publishing preferences in config.ini: WriteFreely CLI.
Jun 11 2019, 11:38 PM · WriteFreely CLI, Write.as CLI
robjloranger moved T643: ensure correct global flag behaviour from In Progress to Backlog on the WriteFreely CLI board.
Jun 11 2019, 11:37 PM · WriteFreely CLI, Write.as CLI
robjloranger added a comment to T643: ensure correct global flag behaviour.

I reverted the change for now, maybe we can revisit in the future but it might be a limitation of the library.

Jun 11 2019, 11:37 PM · WriteFreely CLI, Write.as CLI
robjloranger committed rWCLIe61d2206ff1e: include new claim cmd and host/user flag in docs (authored by robjloranger).
include new claim cmd and host/user flag in docs
Jun 11 2019, 11:33 PM
robjloranger committed rWCLI5228b71af2c8: revert global flag change (authored by robjloranger).
revert global flag change
Jun 11 2019, 11:29 PM
robjloranger added a comment to T643: ensure correct global flag behaviour.

weird, it doesn't work without the flags all being listed as global. Which feels wrong as we never access global flags directly and the cli library docs do not mention anything about that working this way.

Jun 11 2019, 11:10 PM · WriteFreely CLI, Write.as CLI
robjloranger moved T643: ensure correct global flag behaviour from Backlog to In Progress on the WriteFreely CLI board.
Jun 11 2019, 10:53 PM · WriteFreely CLI, Write.as CLI
robjloranger moved T611: Detailed posts list from Soon to Next Up on the WriteFreely CLI board.
Jun 11 2019, 10:53 PM · WriteFreely CLI, Write.as CLI
robjloranger moved T635: configurable defaults from In Progress to Complete on the WriteFreely CLI board.
Jun 11 2019, 10:51 PM · WriteFreely CLI, Restricted Project
robjloranger moved T586: Support any WriteFreely instance from In Progress to Complete on the WriteFreely CLI board.
Jun 11 2019, 10:51 PM · Restricted Project, WriteFreely CLI, Restricted Project
robjloranger committed rWCLI55d587540d37: include new claim cmd in wf (authored by robjloranger).
include new claim cmd in wf
Jun 11 2019, 10:43 PM
robjloranger committed rWCLI3e3cc211cb07: bugfix: default user should work on other domains (authored by robjloranger).
bugfix: default user should work on other domains
Jun 11 2019, 10:43 PM
robjloranger committed rWCLI057c34f1b11e: wf: remove fetch and add blogs cmd (authored by robjloranger).
wf: remove fetch and add blogs cmd
Jun 11 2019, 10:43 PM
robjloranger committed rWCLIc94c8371ba4f: store user.json in user sub folder (authored by robjloranger).
store user.json in user sub folder
Jun 11 2019, 10:43 PM
robjloranger committed rWCLI30b9bcc18e04: support any writefreely instance (authored by robjloranger).
support any writefreely instance
Jun 11 2019, 10:43 PM
robjloranger committed rWCLIecf0e530d015: multiple user authentication (authored by robjloranger).
multiple user authentication
Jun 11 2019, 10:42 PM
robjloranger committed rWCLI66f6debbd5a8: start multi user authentication (authored by robjloranger).
start multi user authentication
Jun 11 2019, 10:42 PM
robjloranger committed rWCLI05a0038f628b: delete host specific user when doing logout (authored by robjloranger).
delete host specific user when doing logout
Jun 11 2019, 10:42 PM
robjloranger committed rWCLId5c3bd8a6493: fix bug with creating empty dir in working dir (authored by robjloranger).
fix bug with creating empty dir in working dir
Jun 11 2019, 10:42 PM
robjloranger committed rWCLI8ba8e2166d4d: store/load user with host specific sub folder (authored by robjloranger).
store/load user with host specific sub folder
Jun 11 2019, 10:42 PM
robjloranger committed rWCLIb58e18a4ccb0: use global flags in writeas cli (authored by robjloranger).
use global flags in writeas cli
Jun 11 2019, 10:42 PM
robjloranger committed rWCLI57a6fe52120e: remove unused global flags (authored by robjloranger).
remove unused global flags
Jun 11 2019, 10:42 PM
robjloranger committed rWCLI7bee197ecdde: add new wf binary for community instances (authored by robjloranger).
add new wf binary for community instances
Jun 11 2019, 10:42 PM
robjloranger committed rWCLIb6362dca3cf6: add helper to parse host based config dir (authored by robjloranger).
add helper to parse host based config dir
Jun 11 2019, 10:42 PM
robjloranger added a comment to T596: add config wizard.

removed parent as this should not be a hard requirement but a nice to have feature

Jun 11 2019, 10:19 PM · WriteFreely CLI, Write.as CLI