/
todo
68 lines (60 loc) · 2.55 KB
/
todo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
todo
----
FEATURES
- [ ] Add pagination to the contacts page
- [ ] Some form of validation that the contact has been contacted
- [ ] Show rendered email template on settings page
- [ ] Add a search bar on contacts page
REFACTOR
- [ ] Make email and phone non-required
- [ ] Make notes a separate table so that individual notes can be added per contact
- [ ] Rename Contact -> Category to Frequency
- [ ] Refactor code mail.Start into smaller functions
- [X] Make notes not required as part of add-contact form
FIX
- [ ] Editing contact's dates does not update the fields
- [ ] When the contact category is updated, automatically update the next contact date
- [X] Updating a contact doesn't work
- [X] When a new contact is created the LastContact date is set to 01-01-0001, basically
they've never been contacted. Don't show this in the UI
DONE
- [X] Push docker image to dockerhub
- [X] Add Dockerfile
- [X] Add settings page
- [X] When will the next email be sent?
- [X] Maybe show it on the index page?
- [X] What does the email template look like
- [X] Style edit-contact so it looks similar to contact
- [X] Add page for editing contacts
- [X] Make the buttons clickable on /contact/:id
- [X] Add data to columns on dashboard
- [X] Improve css for individual contact page
- [X] Create individual contact page
- [X] Improve web html templates for all pages
- [X] Improve contacts page, render a better table
- [X] Add edit and delete buttons on contacts table
- [X] Improve add contacts page
- [X] Improve navbar css
- [X] Settle on a color palette for the website
- [X] Add support for sending emails
- [X] Run the mail server in a go routine
- [X] Only send the mails on a schedule
- [X] Actually write a new template that pulls information from contacts
- [X] Figure out why the to field shows up in bcc
- [X] Figure out why subject doesn't show up on gmail
- [X] Send emails using a go template
- [X] Get all contacts that need to be contacted from db
- [X] Run an infinite `for` loop that runs once every 24 hours
- [X] Setup a server `Start()` function that runs in a goroutine
- [X] Move mail server configuration to config.yaml
- [X] Try sending a single email via emersion/go-smtp
- [X] Find a good library for sending emails
- [X] Figure out how you can send emails via go
- [X] Add logout page
- [X] Add validdtaors to create contacts method
- [X] Add contacts page
- [X] Add basic authentication
- [X] Add barebones index page
- [X] Add an error page
- [X] Make dashboard redirect to login page
- [X] Add static page for "add contact" with a form that adds a contact