You’re allowed to take real life money donations, as long as you do not offer anything in return (software features, isk, in-game items etc.).
I think it’s fair to be a little pushy with the donation buttons, if you need the money for hosting. I don’t know how successful it will be, but, ever bit counts, I guess. Especially if you need to upgrade the server.
For now I’m fine and I won’t ask for real life money. I got unlimited traffic and the load it causes is still pretty low (currently its about 50 users in 24 hours). Some people donated some isk, that’s much appreciated but not mandatory, after all I do this just for fun.
Yerh, I do it for fun to (eve is a great community to develop for, too), but, I got a desktop app, that is a lot easier (read: cheaper) to have a lot of users (not that I have that many users, though ). Still maintain a site for updates/downloads etc. but, it’s really low cost.
Unread counts and envelope icons will change right away no if you open a mail, however, mail headers are cached for 30 seconds, so if you read a mail and refresh the entire page within 30 seconds it will show as unread again.
I’ve noticed that you’re recursively calling your servers mail endpoint on every success call. So, each client connected is calling your server on average 1.2 seconds… this will go up with the more clients connected and will deplete server resources faster.
To save on your server costs I would limit the calls to once every 30 seconds from the client as the ESI API is cached for 30 seconds anyway. You could using something like lodashes throttle function to do this https://lodash.com/docs/4.17.4#throttle
Well since the mail endpoint is paginated, it needs a lot of calls to get all mails, guess the only way around would be to store them for longer times which I don’t want. On the other hand, the individual calls are cached and honor the server side expiry header plus a definable additional cache time. I will have to increase that if it becomes a problem (and i should probably make this a config option).
Edit: Made the extra cache time a config option, if anybody updates from the sources, please check the updated config.php.sample.
Implemented a first version of mass delete/mark read or unread
The last column should be checkboxes now to select rows, at the bottom you will find select/deselect all and the actions. Currently its disabled for small screens like mobiles and the design is not finished. It works per page (25 by default) and its not tested for larger amounts, so if you encounter any errors please lemme know.
Yeah found that as well, the scopes are missing from the url. Any chance something is wrong inside your config.php? And please download the latest version as I did a few more little fixes to restore php5 compatibility.
Ok in order to debug this, can you please edit the login.php and find this line at the end: header('Location: '.$url);
And replace the word header with print.
Please try to login and send me the output, which shoulb be Location: something.
Nevermind, found the issue, its again something not compatible with php5. Gimme a minute.
@Snitch_Ashor Awesome! It works!
You should include a donation thing… Really!
Hope to get more Stuff <3
Edit:
Notifications seems to not working. If you click on Notification, you need to relog. But nothing Change.
Admin interface dont work. After klicking on “Admin” it starts a loop with this error:
Warning: feof() expects parameter 1 to be resource, boolean given in \gate\admin.php on line 41
Ups, forgot one file i guess. You can fix this yourself if you want. Open notifications.php and find MAIL_SCOPES in the first ten lines or so and replace it with unserialize(MAIL_SCOPES)
The admin interface might have two reasons, make sure the log folder is writable by the web server, if thats the case its probably because there have not been any errors yet (i know, will fix that) just make sure log/esi.log exists, if not create an empty file named like that and make sure its writable by the webserver.