Commit Graph

74 Commits

Author SHA1 Message Date
Heikki Hannikainen cf468c9af9 coverity: Fix some uninitialized variables 2022-11-01 23:35:57 +02:00
Heikki Hannikainen 8a410f9690 coverity: Fix format string bugs in logging
Mostly long integers printed with %d.
2022-11-01 23:35:57 +02:00
Heikki Hannikainen 76952b90c1 http: less debug log 2017-02-16 21:34:42 +02:00
Heikki Hannikainen f512d752f3 http: Free old language list when reconfiguring 2016-08-13 16:09:52 +03:00
Heikki Hannikainen 7aba28d331 http: Scan languages during reconfiguration 2016-08-13 16:04:55 +03:00
Heikki Hannikainen eaa4d76ce5 Provide translated strings over http 2016-08-11 21:52:06 +03:00
Heikki Hannikainen fade90c2ba Initial work for loading translations from server for status page 2016-08-06 13:20:49 +03:00
Heikki Hannikainen 3982e4dd87 localisation: Initial translations support 2016-08-03 09:53:39 +03:00
Heikki Hannikainen 2bfe0af549 status web: use new logo, add dialogs to show packet error details 2016-08-02 22:30:32 +03:00
Heikki Hannikainen 3de9ee4fa8 refactor: Move aprsc's graph code to aprsc-graph.js 2016-08-02 08:46:04 +03:00
Heikki Hannikainen afac980b97 status: Sortable client status table 2016-08-01 20:48:37 +03:00
Heikki Hannikainen ab2b5c02d4 Make graphs work, update flot to v0.8.3 2016-08-01 08:16:13 +03:00
Heikki Hannikainen a00b496329 Load bootstrap 2016-08-01 02:43:38 +03:00
Heikki Hannikainen a6c5d5341d Allow angular.js download 2016-07-26 22:28:30 +03:00
Heikki Hannikainen d19c4b4039 Make it actually compile after herrfeuer's changes. 2016-01-16 23:34:52 +02:00
fire c921958718 Update http.c
Add jquery.min.js to serve it locally
2015-12-14 22:11:12 +01:00
Heikki Hannikainen ef5b8b2d9f UDP submit, packet rejections: log them as UDP submit instead of HTTP POST rejections 2015-09-06 12:39:18 +03:00
Heikki Hannikainen bbf3ff0927 Always use aprsc-logo.png for the logo name, no logo version in filename.
* Allow loading with aprsc-logo2.png and aprsc-logo3.png for a few versions.
2014-01-05 14:31:27 +02:00
Heikki Hannikainen f687bece8f Apply new logo 2013-12-22 01:58:45 +02:00
Heikki Hannikainen 280affbc4a Moved version number to a single file (VERSION) to ease up
version bumping.
2013-06-26 07:53:29 +03:00
Heikki Hannikainen 5860f848b0 http: Fix gzip with small files again. Compressing very small files
can make them larger. Increase minimum file size for compression
from 100 to 150 bytes, log compression failures again (output
buffer was too small for the enlarged file), use an output buffer
larger than the input buffer to make space for gzip header. If
the file gets larger, send uncompressed version.
2013-06-26 07:45:40 +03:00
Heikki Hannikainen 128b72d39f Makefile, httpd: install + allow downloading the flot selection plugin 2013-06-24 22:58:57 +03:00
Heikki Hannikainen 5642c7aa9e http gzip: Allow Z_OK return value from deflate 2013-04-26 19:14:12 +03:00
Heikki Hannikainen 0a475077d5 http: Less debug log from compression 2013-02-23 11:59:33 +02:00
Heikki Hannikainen 61594d8ab0 http: Fix memory leak, free compressed reply data after buffering it out 2013-02-23 11:31:03 +02:00
Heikki Hannikainen 1e4e46c5ce http: Do not compress images, they're already compressed. 2013-02-23 11:20:08 +02:00
Heikki Hannikainen c30c0ba348 http: adjust comments 2013-02-23 10:46:11 +02:00
Heikki Hannikainen 68aecc0608 http: Compress status and graphdata JSON responses too.
Clean out a little duplicate code.
2013-02-23 10:42:46 +02:00
Heikki Hannikainen dcc036d30d http: Implement gzip transfer-encoding for static files 2013-02-23 10:25:29 +02:00
Heikki Hannikainen bda0ce7a62 http: Check for client transfer-encoding support for static file requests 2013-02-22 13:42:07 +02:00
Heikki Hannikainen 4622369bb7 coverity: Fix a small logging bug (only log app name/ver if it's present)
Removed a lot of #ifdefs by using static username/version/addr vars always.
2013-02-03 19:06:43 +02:00
Heikki Hannikainen eee9753ce6 coverity: http: use fstat() instead of stat() to make sure IMS hits
works right in the rather unlikely scenario of a static file getting
replaced during request handling.
2013-02-03 18:31:04 +02:00
Heikki Hannikainen 0724e2c5f6 web: Support for MOTD on the status page 2012-11-10 12:36:10 +02:00
Heikki Hannikainen 376b7dc32a Reconfigure: reconfig the http service
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@834 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-09-07 06:30:22 +00:00
Heikki Hannikainen 854fcb9bf8 Shut down the http thread in accept thread after dupecheck has been stopped.
Free the http thread's pseudoworker structure at http shutdown (accept thread
won't be confused now).


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@749 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-29 04:04:49 +00:00
Heikki Hannikainen d8a6424f5f Free pseudoworker from accept.c
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@747 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 22:22:53 +00:00
Heikki Hannikainen d92371c6a9 http: free things when shutting down
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@745 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 22:07:30 +00:00
Heikki Hannikainen 2a48f2dcf3 Free the libevent base at shutdown
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@743 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 21:53:00 +00:00
Heikki Hannikainen 7bf0500a50 implemented UDP submit support
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@727 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 07:05:32 +00:00
Heikki Hannikainen a449b192f8 split out http packet parsing, step 1
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@725 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-28 04:18:35 +00:00
Heikki Hannikainen 97cb9442bf Fixed http.c building with libevent2
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@710 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-25 01:50:52 +00:00
Matti Aarnio 6511277675 libevent support for CentOS, test 2b
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@707 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-24 22:58:35 +00:00
Matti Aarnio ab10bd6219 libevent support for CentOS, test 2
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@706 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-24 22:56:12 +00:00
Heikki Hannikainen 4cf5d841c7 Generate version information on every build
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@686 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-24 07:58:24 +00:00
Heikki Hannikainen e44662895f version 0.4.0.
Support for multiple HTTP listeners on specified addresses/ports
(used to support only one Upload and one Status port). Needed
for FreeBSD IPv4+IPv6 support on HTTP.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@632 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-14 17:28:57 +00:00
Heikki Hannikainen 53d4bac0b2 http: make the server case sensitive and not return static files
based on matching prefix only


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@623 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-14 07:42:25 +00:00
Heikki Hannikainen edbdbe9fb6 http: make some content cacheable and set appropriate max-age headers
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@600 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-05 09:20:25 +00:00
Heikki Hannikainen b0c656c506 Implemented graphs on the status page.
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@582 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-03 20:10:37 +00:00
Heikki Hannikainen 090e09daec Provide easier method to set up counterdata in status.c.
Give out specific graph data sets over HTTP.


git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@580 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-03 16:32:29 +00:00
Heikki Hannikainen d1e91b6d53 Report UDP and TCP data rates in the status JSON
git-svn-id: http://repo.ham.fi/svn/aprsc/trunk@578 3ce903b1-3385-4e86-93cd-f9a4a239f7ac
2012-08-03 05:13:47 +00:00