implement hosted files
Idea
+status
+priority
+tag
+issues
In the spirit of working well with other technologies, it would be nice if you could upload a file or image and specify a path for it on the server that Wagn is on.
Among other things, this is a partial solution to maintain canonical URLs from migrating sites.
+solution
On my current web host, there is a file "Dinner.mp3" in the "thirtysongs" subfolder of my web directory. A solution could look like this:
- Upload the file to a File card named "Dinner.mp3".
- Go the settings tab and and add a card "Dinner.mp3+*self+*path" (Phrase), with content "/u1/johnca/web/thirtysongs/"
- Upon creation of that card, Wagn copies the file to "/u1/johnca/web/thirtysongs/Dinner.mp3".
- Any time the File card is edited, or a setting that would change its path is edited, Wagn updates things appropriately.
Using the settings infrastructure lets you specify a path for entire sets of cards.
Note that's an absolute URL in #3. We could also support relative URLs, and have a configuration card that sets the base URL.
+discussed in support tickets
+relevant user stories