Commit Briefs

980b7e0ab8 Oliver Lowe

apple: Pull-to-refresh aliases from main view (master)

Finally! This change implements the mailmux API client in the main view by letting users do the idiomatic 'swipe down to get changes from server' thing.


2fa019fcdb Oliver Lowe

apple: add mailmux HTTP API client

All it does it fetch aliases for now. It could be better.


fdee30e508 Oliver Lowe

apple: Handle custom build configuration with XCode

XCode handles this for us since XCode 13 (the current stable version).


339101e22f Oliver Lowe

web: present HTTP Basic Auth challenge

rather than just always refusing. This gives us a nice prompt in a web browser and also lets Swift's & Objective-C's HTTP clients correctly handle authentication.


5f060a33e9 Oliver Lowe

userdb: correctly scan password when looking up user


2aea4626e8 Oliver Lowe

cmd/changeuser: create and change a user on disk

So now we can do it via ssh or something


35e7d1ea65 Oliver Lowe

apple: get main app interface working with test data


1ed36f6257 Oliver Lowe

Delete unused SQL script

Replaced by statements in mailmux itself. Callers of OpenUserDB() and CreateUserDB() get a database initialised for them automatically.


a039d5d3de Oliver Lowe

shorter, cleaer error message on bad username


e2ab3f7c35 Oliver Lowe

mailmux: use builtin sqlite datetime functions to set modtime

Better to use the functionality provided by sqlite since we've decided to bring on the dependency. Might as well use it.


8b1fbea42d Oliver Lowe

web: cleanup temp test files after tests finish


f734327147 Oliver Lowe

mailmux: store last modified time of users, aliases

This is useful information that could be used for auditing people abusing the service, some basic non-invasive system metrics, and of course it's useful for users to see in the interface.


4fb0d63962 Oliver Lowe

mailmux: stop printing to stdout on every test


c6eb8eaf7d Oliver Lowe

new web package for all HTTP API related stuff


f4dc498500 Oliver Lowe

mailmux, docs: serialise time as RFC3339, not Unix

this is what Go's time package expects when marshalling time in JSON.


be20893f81 Oliver Lowe

mailmux: deduplicate userdb table init


b25c20b4f3 Oliver Lowe

add prototype swiftui app


acca18c6e2 Oliver Lowe

mailmux: limit registration request/response sizes

Hopefully this will prevent any abuse from causing too many problems!


439609a043 Oliver Lowe

build docs from correct directory


0e224654de Oliver Lowe

use ruby-provided bundler


4678774c42 Oliver Lowe

aliases: error on recipient name containing colons


4676ea2acb Oliver Lowe

Add HTTP API reference, build automatically


71bdede3e2 Oliver Lowe

wip


cb474497f0 Oliver Lowe

wip


052981c3e4 Oliver Lowe

check dictionary exists before opening aliasdb