Gregor Jasny
a5c04f47e1
test: improve coverage
2026-06-20 17:31:37 +02:00
Gregor Jasny
b4e21e2e64
chore: rely on forward declared CivetServer
2026-06-20 16:21:57 +02:00
Gregor Jasny
f6d0065097
chore: small adjustments
2026-06-20 15:49:32 +02:00
jrga
605b3fc55d
Allow injection of external CivetServer via Exposer constructor
2026-06-04 20:24:17 +02:00
Gregor Jasny
b38d78a367
ci(bazel): pass in location of telegraf
2026-05-02 22:35:32 +02:00
pgold
f38ed2cf16
Load rules from rules_cc
...
As of Bazel 9.x, C++ rules are no longer builtins and *must* be loaded
from rules_cc.
2026-04-30 16:34:14 +00:00
Gregor Jasny
322e0e7a9e
build(cmake): fix generator expression
...
Fix : #733
2025-03-21 22:22:16 +01:00
Gregor Jasny
dbdb5d90aa
build(bazel): drop support for non-bazelmod builds
2024-11-03 19:27:58 +01:00
Keith Smiley
0c76af1bb1
build(bazel): Add support for --incompatible_disallow_empty_glob
...
This flag helps find accidental misconfigurations with invalid globs
earlier. It's expected to become the default in the next major version
of bazel. The BUILD file changes here allow downstream consumers to
enable it now.
2024-05-26 19:30:46 +02:00
Matthieu MOREL
4cd91d93b4
Use civetweb as bazel_dep
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-05-07 23:01:12 +02:00
Gregor Jasny
a10ef3c5c6
test(pull): cope with old curl versions
2024-02-07 08:10:29 +01:00
Gregor Jasny
2a39067b52
build: use Ubuntu 22.04 for clang-format
2023-12-28 20:59:13 +01:00
Gregor Jasny
6c161e5d77
chore(pull): remove pre v1.14 civetweb work-around
2023-12-27 14:15:32 +01:00
Gregor Jasny
8438ebda32
test(pull): add tests for authentication
2023-12-27 14:15:32 +01:00
Gregor Jasny
bd80293328
chore: move base64 implementation into internal utility library
2023-12-18 10:00:58 +01:00
Gregor Jasny
5de72e811a
feat: add base64 encoder
2023-12-18 10:00:58 +01:00
Gregor Jasny
bb21a73ce8
build(bazel): use Bazel modules
...
Issue: #225 #507 #513 #581
Closes : #616
2023-02-01 10:12:09 +01:00
Gregor Jasny
89e79f2003
build: revert back to C++11
...
There seem to be many poor souls stuck to C++11. Because we
don't really depend on C++14 features let's wait for a reason
to bump up the standard to C++17 or later.
Close : #619
Fix : #618
Fix : #615
2022-11-28 22:41:49 +01:00
Johnny Jazeix
2ce3bb011e
feat(core): Add Info metric
2022-06-18 14:36:33 +02:00
Gregor Jasny
1236f09eb4
fix: handle absolute paths in pkgconfig files
...
Fixes : #587
2022-05-20 10:31:39 +02:00
Gregor Jasny
d647b6f42d
fix: fix issues found by CLion static analyzer
2022-04-06 20:48:01 +02:00
Gregor Jasny
20c468b6bd
build: require C++14
2022-04-03 21:36:54 +02:00
Leith Bade
47838c7587
Add missing std:: on size_t
2022-03-30 08:31:00 +02:00
Gregor Jasny
91dd416d76
chore(core): Introduce Labels type
2021-11-14 18:17:14 +01:00
Gregor Jasny
b6615c7a62
fix(pull): Properly lock Exposer functions
...
Fixes : #529
2021-11-12 09:33:28 +01:00
Gregor Jasny
a3e4d4289d
chore(clang-tidy): Fix cppcoreguidelines-special-member-functions
2021-11-12 08:33:56 +01:00
Gregor Jasny
95ea1a3169
chore: prepare 0.13.0 release
2021-09-09 17:47:59 +02:00
Gregor Jasny
952c6bcdfe
ci: Run iwyu 8.16 from Debian Experimental
2021-07-22 07:56:33 +02:00
Pavel Pimenov
722d8d0936
Update handler.cc
...
remove #include "prometheus/serializer.h"
2021-05-09 22:14:00 +02:00
Pavel Pimenov
91c4d5acf0
Update handler.cc
2021-05-09 22:14:00 +02:00
Pave Pimenov
7ebc0d2f96
fix make_unique
2021-05-09 22:14:00 +02:00
Gregor Jasny
3d24cf1e96
pull: Install header files for embedded civetweb
...
Fixes : #479
2021-05-09 19:37:44 +02:00
Gregor Jasny
8e74a80e50
pull: Prevent ABI break due to #479
2021-05-09 19:26:38 +02:00
kuvaldini
8416888625
Add CivetCallbacks to Exposer ctor
...
This change adds customizability to the embedded civetweb server by passing through a callbacks struct. This can be used to customize logging, etc.
Signed-off-by: kuvaldini <ivan@kuvaldini.pro >
closes #479
2021-05-01 10:54:48 -07:00
Gregor Jasny
5b465a4e6c
pull: Announce utf-8 content encoding
...
Closes : #377
2021-03-09 13:01:15 +01:00
Gregor Jasny
5699348faa
feat(cmake): Generate pkg-config files
...
Fixes : #447
2021-03-04 21:15:31 +01:00
Gregor Jasny
f448b2c3de
feat(iwyu): Organize includes with include-what-you-use
2021-03-03 22:11:10 +01:00
Gregor Jasny
af8449400d
Merge pull request #435 from jupp0r/improve-example
...
pull: Add better example
2021-01-31 20:57:57 +01:00
Gregor Jasny
3c5d3c5775
pull: improve code coverage
2020-12-27 17:50:36 +01:00
Gregor Jasny
b8db5e468d
pull: don't trigger failing authentication due to civetweb/civetweb#954
2020-12-27 13:06:58 +01:00
Gregor Jasny
114f756f19
pull: don't set auth handler to nullptr to avoid civetweb bug
2020-12-27 13:06:58 +01:00
Gregor Jasny
eae808770a
pull: test authentication and compression
2020-12-26 23:42:48 +01:00
Gregor Jasny
fda05ed105
pull: Add better example
...
Closes : #423
2020-12-26 15:46:38 +01:00
Mark Klein (mklein201)
bd887dafbd
pull: Add RemoveCollectable
...
Closes : #415
2020-12-17 19:32:14 +01:00
Gregor Jasny
87f93a1e38
pull: Work-around assertion and race-condition in auth handler
2020-12-16 21:18:59 +01:00
Gregor Jasny
9638191bc9
pull: Add integration test for exposer
2020-12-16 20:10:49 +01:00
Gregor Jasny
fa49acc155
pull: Remove expired weak pointers to avoid leak
2020-12-14 21:33:09 +01:00
Gregor Jasny
1101626fb7
pull: do not export BasicAuthHandler
2020-12-13 16:58:53 +01:00
Gregor Jasny
bb017ec15a
pull: Use internal base64 decoding function to avoid dependency ( #417 )
2020-11-23 14:44:04 -08:00
Gregor Jasny
72b4d19943
pull: work-around missing winsock lib in civetweb
...
Fixes : #401
2020-11-15 20:27:22 +01:00