Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modularize - Ability for server to be used as a package #27

Merged
merged 58 commits into from
Dec 22, 2016
Merged

Commits on Nov 28, 2016

  1. Begin major refactoring. Collapsed subpackages into top level, refact…

    …ored client handling code.
    jordanschalm committed Nov 28, 2016
    Configuration menu
    Copy the full SHA
    4859e9d View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2016

  1. Remove go from repo and icon name

    Remove old `server` package
    Refactor cmd package to work with new server
    Remove `models.go`, remove parts and refactor other parts into either `server.go` or `client.go`
    Change format of `allowed_hosts` to JSON array from comma separated string
    jordanschalm committed Nov 29, 2016
    Configuration menu
    Copy the full SHA
    ce5f3a2 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2016

  1. Change repo name

    jordanschalm committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    ce366b9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e60264a View commit details
    Browse the repository at this point in the history
  3. Fix ROOT in makefile

    Refactor NewServer and server.run into server file
    Remove requirement for servers to receive appconfig
    jordanschalm committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    502939c View commit details
    Browse the repository at this point in the history
  4. fix imports in cmd

    jordanschalm committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    393f946 View commit details
    Browse the repository at this point in the history
  5. Add comments

    jordanschalm committed Nov 30, 2016
    Configuration menu
    Copy the full SHA
    68c4eff View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2016

  1. Configuration menu
    Copy the full SHA
    0068ee9 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2016

  1. Move backend interface to guerrilla package

    Refactor MD5Hash method to not use pointers to strings (go strings are pointers under the hood already anyway)
    Refactor mysql+redis backend implementation to work with new backend interface and modified client struct
    Move concern of reading a configuration file to the command line interface
    jordanschalm committed Dec 6, 2016
    Configuration menu
    Copy the full SHA
    1068a90 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2016

  1. Configuration menu
    Copy the full SHA
    f52ca17 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    09b9110 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4dfb974 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2016

  1. Configuration menu
    Copy the full SHA
    148d911 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df865ee View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fcbede1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9a1999f View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2016

  1. * change imports back to flashmob's repo

    * tls sate always goes back to command state
    flashmob committed Dec 13, 2016
    Configuration menu
    Copy the full SHA
    295e455 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f92198 View commit details
    Browse the repository at this point in the history
  3. * allocate the Headers map

    flashmob committed Dec 13, 2016
    Configuration menu
    Copy the full SHA
    8a9a0b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    603df7d View commit details
    Browse the repository at this point in the history
  5. * do not allocate client until we have space for it

    * added some kills for read errors
    flashmob committed Dec 13, 2016
    Configuration menu
    Copy the full SHA
    97334f5 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2016

  1. Configuration menu
    Copy the full SHA
    4159692 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8cb332 View commit details
    Browse the repository at this point in the history
  3. merge

    jordanschalm committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    692ec73 View commit details
    Browse the repository at this point in the history
  4. Fix issue where config file wasn't read correctly, preventing saveMai…

    …l workers from being created and causing deadlock in the Redis+MySQL backend
    jordanschalm committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    fae8e89 View commit details
    Browse the repository at this point in the history
  5. Move header parsing function to util for backends to use

    Remove Client.Headers and replace with Subject as before
    jordanschalm committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    b221c32 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9f91977 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3c53247 View commit details
    Browse the repository at this point in the history
  8. * exit on unknown backend

    * log invalid tls handshake
    * do not send reply on invalid tls handshake
    flashmob committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    979821b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    581a48a View commit details
    Browse the repository at this point in the history
  10. * do not write a response if there is nothing to write

    * just a tiny detail to the guerrilla mail mail backend, legacy db table
    flashmob committed Dec 14, 2016
    Configuration menu
    Copy the full SHA
    210fd39 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2016

  1. Configuration menu
    Copy the full SHA
    0bb3d0a View commit details
    Browse the repository at this point in the history
  2. Move util functions used by backends to backends package.

    Make smtpbufferedreader unexported
    jordanschalm committed Dec 15, 2016
    Configuration menu
    Copy the full SHA
    ea5d09d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cb99c5f View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2016

  1. Configuration menu
    Copy the full SHA
    5b9f283 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ec5fed View commit details
    Browse the repository at this point in the history
  3. add travis.yml

    jordanschalm committed Dec 16, 2016
    Configuration menu
    Copy the full SHA
    dd68ecd View commit details
    Browse the repository at this point in the history
  4. test travis

    jordanschalm committed Dec 16, 2016
    Configuration menu
    Copy the full SHA
    b0e958c View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2016

  1. test travis

    jordanschalm committed Dec 17, 2016
    Configuration menu
    Copy the full SHA
    dc8cb0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c0e4eee View commit details
    Browse the repository at this point in the history
  3. test travis

    jordanschalm committed Dec 17, 2016
    Configuration menu
    Copy the full SHA
    7712473 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a03136 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b4d2847 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    18335c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6e9c577 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2016

  1. Configuration menu
    Copy the full SHA
    c38928f View commit details
    Browse the repository at this point in the history
  2. move public client fields to MailData struct and make client privat…

    …e. Move `Client#Hash` into sql+redis backend
    jordanschalm committed Dec 21, 2016
    Configuration menu
    Copy the full SHA
    55a49d8 View commit details
    Browse the repository at this point in the history
  3. add ip to log message

    flashmob committed Dec 21, 2016
    Configuration menu
    Copy the full SHA
    cdd6a0e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    638d9e9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    291c982 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e11c7ae View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    00817c6 View commit details
    Browse the repository at this point in the history
  8. simplify

    flashmob committed Dec 21, 2016
    Configuration menu
    Copy the full SHA
    571069f View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2016

  1. Configuration menu
    Copy the full SHA
    b207f88 View commit details
    Browse the repository at this point in the history
  2. Fix naming in README

    jordanschalm committed Dec 22, 2016
    Configuration menu
    Copy the full SHA
    bbb4986 View commit details
    Browse the repository at this point in the history
  3. rename MailData to Envelope

    flashmob committed Dec 22, 2016
    Configuration menu
    Copy the full SHA
    8c14ef6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d1b9944 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9ebedb3 View commit details
    Browse the repository at this point in the history