James Hillyerd
30d7cbc2a4
Metrics on about page are working
2012-10-23 13:43:40 -07:00
James Hillyerd
5833bb0701
Add expvar JSON @ /debug/vars
...
Counters include:
- Uptime
- SMTP connections
- SMTP connections (current)
- SMTP messages delivered
2012-10-23 09:51:30 -07:00
James Hillyerd
16a68000d3
Make log level configurable
2012-10-22 18:07:16 -07:00
James Hillyerd
3099777044
Update README
...
Switch to github.com for source of httpbuf, thegoods.biz is not firewall
friendly because it refers people to the git:// URL
2012-10-22 16:08:13 -07:00
James Hillyerd
db0d553f5d
Package reorg part 3
...
- binary "inbucketd" is now "inbucket"
- renamed "conf" to "etc" so it doesn't get confused with "config" pacakge dir
2012-10-22 15:57:05 -07:00
James Hillyerd
7215c041dc
Package reorganization part 2
...
End goal is to simplify build
2012-10-22 15:48:55 -07:00
James Hillyerd
4e5c0ce4d8
Reorganize packages pt 1
...
End goal: simplify build process
2012-10-22 15:20:33 -07:00
James Hillyerd
21a9211c0f
Remove Revel URL from README
2012-10-21 14:51:37 -07:00
James Hillyerd
01955d3cb2
Moved inbucketd to main to make building easier
...
Updated README.md with a install procedure that actually works
2012-10-21 14:47:41 -07:00
James Hillyerd
3650b93de7
Replace Revel favicon
2012-10-21 14:15:43 -07:00
James Hillyerd
2c7419c661
Gorilla is fully operational
...
- All mailbox actions working: index, list, show, html, source and delete
- Cleaned up extra files from Revel
- Took a guess at install process for README.md
This closes #4
2012-10-21 13:42:34 -07:00
James Hillyerd
71bb52a64a
Added partial templates
...
mailbox/list now renders
2012-10-21 12:42:54 -07:00
James Hillyerd
9c94bb2ab1
The main index template renders now!
2012-10-21 09:57:42 -07:00
James Hillyerd
442e8fbe14
Web server now starts
...
Can serve static content, no dynamic stuff yet
2012-10-20 23:03:59 -07:00
James Hillyerd
81fea97a90
SMTP server is running with new config engine
...
Web still not working
2012-10-20 21:36:57 -07:00
James Hillyerd
ce9289140a
Config file loading/validation implemented.
...
Builds, does not run!
2012-10-20 19:20:42 -07:00
James Hillyerd
ec0823b452
mime & util unit tests pass
...
added a sample of what the config should look like, may need tweaking
once I actually try to parse & use it.
2012-10-20 17:30:32 -07:00
James Hillyerd
3dd0206b48
New directory layout - DOES NOT COMPILE
2012-10-20 16:40:25 -07:00
James Hillyerd
2b3491fc87
Improved message rendering
...
Added a decodeSection function to mime.go that uses go-qprintable to
parse quoted-printable emails or MIME parts, fixes #7
Added a very basic TextToHtml converter to provide nicer rending of text
message bodies.
2012-10-19 12:50:16 -07:00
James Hillyerd
9e389e00d3
Quoted Printable sample data for upcoming fix
2012-10-18 22:49:56 -07:00
James Hillyerd
69313046aa
Second attempt at screenshot in README.md
2012-10-17 23:29:11 -07:00
James Hillyerd
0889e6469a
Add screenshot to readme
2012-10-17 23:20:41 -07:00
James Hillyerd
ddaeb9ee01
Update readme
2012-10-17 21:58:13 -07:00
James Hillyerd
24dcd62951
Basic HTML email rendering
...
Messages with a MIME text/html MIME part will now be displayed with an
`HTML` button above them that will open another window and render the
HTML when clicked.
There is no sanitization performed, and inline attachment display is
not support.
This closes #2
2012-10-17 21:47:48 -07:00
James Hillyerd
0efb28ef38
Basic MIME parsing is now integrated, this closes #1
2012-10-17 21:10:02 -07:00
James Hillyerd
e76fad1523
More MIME dev, new unit test libs
...
MIME parsing code is now in an acceptable state to integrate into
web UI. It should be able to display text and/or HTML (sans
attachments).
Added "testify" unit testing library, providing assertions and mocks.
2012-10-17 20:25:27 -07:00
James Hillyerd
bc7526abef
More MIME parsing progress!
...
After parsing MIME into a tree of nodes, we can now issue
BreadthFirstSearch commands against it to locate the text and HTML
portions of the email.
2012-10-15 22:56:45 -07:00
James Hillyerd
a2070dd60a
Parse MIME parts into a node tree
2012-10-15 21:04:58 -07:00
James Hillyerd
46b123606b
Started work on MIME parser
...
I'm hoping to mostly rely on the official mime and mime/multipart
packages, but Inbucket is still going to have to decided what to
do with the various parts it reads.
2012-10-14 23:11:39 -07:00
James Hillyerd
da8e0bc508
Many small refinements to front/backend UI
...
Changes:
- Added a friendlyTime helper for nicer timestamps
- Added validation to most action methods
- Added error flash to several template files
- Now making use to c.RenderError() to handle action errors
- Removed message list slideUp() effect, takes too long
- Fixed a problem with my vim indentation configuration, so CSS and
HTML should be indented more consistently.
2012-10-14 16:02:14 -07:00
James Hillyerd
264d1d0165
Fix some IE rendering/caching issues
2012-10-14 13:09:25 -07:00
James Hillyerd
6834d71c9b
Update README with installation steps
2012-10-13 16:12:48 -07:00
James Hillyerd
eb363aa670
Add a view source button to see raw text of message
2012-10-13 14:37:11 -07:00
James Hillyerd
a0ab84abb5
Message list is now loaded by AJAX and can be refreshed.
...
Added a message delete button.
2012-10-13 14:11:12 -07:00
James Hillyerd
301c3efa63
Implement SIZE ESMTP extension
2012-10-12 18:19:43 -07:00
James Hillyerd
ca66280f74
Successfully accepted an ESMTP message from Mac Mail!
2012-10-12 14:05:55 -07:00
James Hillyerd
f5b7aca712
Add some text to readme and the MIT license.
2012-10-11 15:23:51 -07:00
James Hillyerd
1481c5c9d8
Basic AJAX GUI is now functional
2012-10-11 11:49:23 -07:00
James Hillyerd
31395891a4
Warning: carnage. Hacking in a CSS template.
2012-10-10 22:46:59 -07:00
James Hillyerd
555332c98e
Add a way to enter a username to view. Cleanup route formatting.
2012-10-10 21:04:28 -07:00
James Hillyerd
3fe4c937cd
Add a controller to view list mailbox contents, view individual
...
messages.
2012-10-10 13:46:03 -07:00
James Hillyerd
4bcb7391c8
Refactor datastore: DataStore -> Mailbox -> Message (was MailObject)
2012-10-10 09:54:41 -07:00
James Hillyerd
6e8e0a300c
Server now writes raw smtp data to datastore. Does not yet create gob files.
2012-10-07 22:05:07 -07:00
James Hillyerd
9fa93acf0e
Modify smtpd to integrate with Revel.
...
Add plugin to app.go to start smtpd
2012-10-07 19:12:58 -07:00
James Hillyerd
cbba067673
gofmt on smtpd
2012-10-07 17:04:39 -07:00
James Hillyerd
cb388e94b2
Init smtpd checkin
...
SMTP daemon, not wired into rest of inbucket
2012-10-07 17:00:06 -07:00
James Hillyerd
ff3a4264cf
utils
...
A couple email address related utils
2012-10-06 20:35:33 -07:00
James Hillyerd
be97a4528f
revel skeleton
2012-10-06 20:27:00 -07:00
jhillyerd
7eacfb8fec
Initial commit
2012-10-06 16:09:56 -07:00