jbs1 / eve-srpmail

A mail utility for SRP officer's in Eve Online

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hosted here: http://eve-stuff.com/index.php

EVE-srpmail

This is a small and simple tool to make the tedious task of writing SRP mails easier for officers.
This works for all corporations not just EVE uni as it pulls the infos about the corps and chars dynamically from the API.
Nothing will be save on the server itself for longer than the session. If all endpoints are implemeted, it would remove the need to be ingame at all which would mean SRP could be done on the go e.g. through our phone.

Future plans

General

  • corp name lookup for mails instead of static (possibly save name in session on login/auth)
  • Replace header corp name with logo, also make it dynamic lookup
  • add some loading indicator (especially for loading members) since that can take up to 15 seconds
  • autoclose mails notifications after some time
  • fix bug with contract status not refeshing
    • deleted/timed out contracts don't disappear from list as the javascript only add's and doesn't remove
  • switch over to esi-api for contracts when the endpoint is implemeted
  • make it work with citadels
  • don't autoload contracts (?)
  • show logged in char
  • save sent mails in cookies instead of session, otherwise on session timeout sent mails not marked anymore
  • fix "session already started" console warning
  • save finished contracts in cookies to make persistent over sessions
  • fix eval vuln in mailform
  • fix deprecated async in hull mail form

Tabs

  • for all tabs: first put in killmail to to fetch info such as receiver name/fit for comparison and to put it in text template
    • support zkill and euni killboard by fetching actuall esi killmail from the pasted link
  • Money SRP
    • possibly make payments through api (NO endpoint yet)
    • selection with ISK reimbursement amounts, autofetched from somewhere (srp google docs?)
  • Contract SRP
    • possibility to create contracts from the api (NO endpoint yet)
    • possible problems with ships beeing inside locked containers
  • General Text
    • with different templates depending on rejection/resubmission
  • Fitting comparison (maybe as standalone for normal users)
    • Visual Requirement comparison for BLAP fits from killboard links
    • Use group ID or SDE and meta level to account for upgrades
    • Automatically pull fitting comparison from fleetup or similar
    • From killmail link, automatically find fit to compare to

Mail UI

  • all tabs use same message ui with one text field, just different templates
  • adapt wysiwyg editor to support ccps custom tags
  • list of common text snippets, added by clicking

message UI

Install

Install Prerequisites

sudo apt-get install php-curl
sudo apt-get install php-mbstring
sudo apt-get install php-xml
sudo apt-get install composer

Get source

Either clone the repository via git clone git@github.com:jbs1/eve-srpmail.git or simply download load the latest release from the Release-Page.

Put the files in your webdir or link to the via symlink (eg. sudo ln -sf ~/eve-srpmail/ /var/www/html).

Dependencies

You need to install the composer dependencies by running

composer install

in the root of the dir.

Library's used

The following library's were used:

About

A mail utility for SRP officer's in Eve Online

License:GNU General Public License v3.0


Languages

Language:PHP 59.9%Language:JavaScript 39.2%Language:CSS 1.0%