Page MenuHomeMusing Studio
Feed Advanced Search

Dec 6 2018

benovermyer added a comment to T529: Support SQLite for storage.

After this has been merged in, I'll work on the PostgreSQL support.

Dec 6 2018, 1:41 PM · WriteFreely (v1.0)
matt awarded T544: Add ability to generate users from the command line a 100 token.
Dec 6 2018, 12:08 AM · WriteFreely

Dec 3 2018

benovermyer added a comment to T544: Add ability to generate users from the command line.

I updated the task's tag and changed it to be editable by All Users. Is that the right group?

Dec 3 2018, 6:33 PM · WriteFreely
benovermyer edited projects for T544: Add ability to generate users from the command line, added: WriteFreely; removed Write.as CLI.
Dec 3 2018, 6:32 PM · WriteFreely
benovermyer changed the edit policy for T544: Add ability to generate users from the command line.
Dec 3 2018, 3:19 PM · WriteFreely
benovermyer closed T531: Write a Dockerfile as Resolved.

This is done. The relevant commits that resolved it:

Dec 3 2018, 2:57 PM · WriteFreely
benovermyer added a comment to T529: Support SQLite for storage.

Oh, and I believe that adding PostgreSQL support will be much easier than SQLite. It should be able to use schema.sql and all of the MySQL SQL commands unmodified. The only bit that it'll require is a new connection block in the initial setup.

Dec 3 2018, 2:54 PM · WriteFreely (v1.0)
benovermyer added a comment to T372: Import posts from Blogger.

Ooh. I look forward to seeing this implemented, since I currently have a Blogger blog.

Dec 3 2018, 2:49 PM · Write.as Web, Import, WriteFreely, Restricted Project

Dec 1 2018

benovermyer committed rWF6cb86214d7a5: SQLite support added. (authored by benovermyer).
SQLite support added.
Dec 1 2018, 6:10 PM
benovermyer added a comment to T529: Support SQLite for storage.

@matt OK, with the latest commit on the sqlite-support branch, SQLite support is working.

Dec 1 2018, 6:09 PM · WriteFreely (v1.0)

Nov 27 2018

benovermyer added a comment to T529: Support SQLite for storage.

I have a working variation of schema.sql (called, appropriately enough, sqlite.sql) for SQLite.

Nov 27 2018, 2:53 PM · WriteFreely (v1.0)

Nov 26 2018

benovermyer added a comment to T529: Support SQLite for storage.

As an example, SQLite doesn't support the SQL function NOW(). It also only has five data types - NULL, INTEGER, REAL, TEXT, and BLOB. Yes, that means boolean values are stored as full INTEGERs.

Nov 26 2018, 10:42 PM · WriteFreely (v1.0)
benovermyer added a comment to T529: Support SQLite for storage.

So as I've started testing this, I've discovered there is a vast chasm of differences between normal SQL and SQLite SQL. I'm working on the logic to handle both.

Nov 26 2018, 10:37 PM · WriteFreely (v1.0)
benovermyer added a comment to T529: Support SQLite for storage.

The working branch is here: https://github.com/writeas/writefreely/tree/sqlite-support

Nov 26 2018, 8:12 PM · WriteFreely (v1.0)
benovermyer committed rWFdd5f6870d8c9: Add SQLite option for database. (authored by benovermyer).
Add SQLite option for database.
Nov 26 2018, 8:11 PM
benovermyer added a comment to T529: Support SQLite for storage.

Actually, I retract my previous statement. I was thinking in terms of integration tests, not unit tests - the current pattern is fine.

Nov 26 2018, 3:54 PM · WriteFreely (v1.0)
benovermyer added a comment to T529: Support SQLite for storage.

I started working on a proof of concept for this yesterday morning. In the process, I noticed a couple things.

Nov 26 2018, 3:01 PM · WriteFreely (v1.0)

Nov 16 2018

GitHub <noreply@github.com> committed rWFbeed6e79beee: Merge 2de37a4ddb270ee32704bd4cf40431157c0971c1 into… (authored by benovermyer).
Merge 2de37a4ddb270ee32704bd4cf40431157c0971c1 into…
Nov 16 2018, 9:03 PM
benovermyer committed rWF2de37a4ddb27: Improved the Docker dev workflow slightly. (authored by benovermyer).
Improved the Docker dev workflow slightly.
Nov 16 2018, 9:02 PM

Nov 13 2018

benovermyer changed the edit policy for T531: Write a Dockerfile.
Nov 13 2018, 6:54 PM · WriteFreely
benovermyer added a comment to T529: Support SQLite for storage.

Aye, that sounds perfect.

Nov 13 2018, 6:30 PM · WriteFreely (v1.0)
benovermyer added a comment to T529: Support SQLite for storage.

Probably worth making the filename of the database configurable.

Nov 13 2018, 1:51 PM · WriteFreely (v1.0)