]>
git.stg.codes - stg.git/log
Maksym Mamontov [Tue, 12 Jul 2022 20:23:44 +0000 (23:23 +0300)]
Use std::jthread and C++17.
Maksym Mamontov [Mon, 28 Jun 2021 19:23:18 +0000 (22:23 +0300)]
More stgTime cleanup.
Maksym Mamontov [Mon, 1 Feb 2021 16:16:58 +0000 (18:16 +0200)]
Merge remote-tracking branch 'github/master'
Maksym Mamontov [Sat, 23 Jan 2021 15:29:38 +0000 (17:29 +0200)]
Another `stgTime` case.
Maksym Mamontov [Sat, 23 Jan 2021 15:14:03 +0000 (17:14 +0200)]
Use `time` for message creation time.
Maksym Mamontov [Sun, 17 Jan 2021 17:52:00 +0000 (19:52 +0200)]
Add missing CMakeLists.txt
Maksym Mamontov [Sun, 17 Jan 2021 17:48:47 +0000 (19:48 +0200)]
Move projects back into subfolder.
Maksym Mamontov [Sun, 17 Jan 2021 15:58:38 +0000 (17:58 +0200)]
Update SMUX library.
Maksym Mamontov [Tue, 25 Aug 2020 14:42:37 +0000 (17:42 +0300)]
Merge pull request #1 from yuriio147/mysql-store-db-port
Added optional DB port parameter for MySQL store.
Yurii Olenych [Tue, 25 Aug 2020 12:49:06 +0000 (15:49 +0300)]
Added optional DB port parameter for MySQL store.
Maksym Mamontov [Mon, 25 May 2020 15:57:48 +0000 (18:57 +0300)]
Non-virtual admin.
Maksym Mamontov [Mon, 11 May 2020 09:59:50 +0000 (12:59 +0300)]
Remove (always broken) FreeRADIUS support.
Maksym Mamontov [Mon, 11 May 2020 09:59:27 +0000 (12:59 +0300)]
Remove useles cast.
Maksym Mamontov [Mon, 24 Feb 2020 17:38:46 +0000 (19:38 +0200)]
Fix XMLRPC.
Maksym Mamontov [Mon, 24 Feb 2020 16:40:16 +0000 (18:40 +0200)]
Move some includes.
Maksym Mamontov [Mon, 24 Feb 2020 16:38:57 +0000 (18:38 +0200)]
packetSize -> STG::packetSize
Maksym Mamontov [Mon, 24 Feb 2020 16:37:42 +0000 (18:37 +0200)]
Fix compilation error.
Maksym Mamontov [Mon, 24 Feb 2020 16:27:56 +0000 (18:27 +0200)]
pcktSize -> packetSize
Maksym Mamontov [Mon, 24 Feb 2020 16:27:11 +0000 (18:27 +0200)]
RawPacket-related changes.
Maksym Mamontov [Mon, 24 Feb 2020 16:24:48 +0000 (18:24 +0200)]
Add missing include.
Maksym Mamontov [Mon, 24 Feb 2020 16:22:52 +0000 (18:22 +0200)]
Disable NFQ on non-linux.
Maksym Mamontov [Mon, 24 Feb 2020 16:15:14 +0000 (18:15 +0200)]
Some more BSD-related issues.
Maksym Mamontov [Mon, 24 Feb 2020 16:02:54 +0000 (18:02 +0200)]
Fix some BSD-related issues.
Maksym Mamontov [Fri, 21 Feb 2020 16:54:23 +0000 (18:54 +0200)]
Public interfaces: part 4
Maksym Mamontov [Thu, 20 Feb 2020 21:27:02 +0000 (23:27 +0200)]
Public interfaces: part 3
Maksym Mamontov [Thu, 20 Feb 2020 20:49:04 +0000 (22:49 +0200)]
Public interfaces: part 2
Maksym Mamontov [Thu, 20 Feb 2020 15:36:40 +0000 (17:36 +0200)]
Public interfaces: part 1
Maksym Mamontov [Tue, 28 Jan 2020 17:33:24 +0000 (19:33 +0200)]
Update travis dist.
Maksym Mamontov [Tue, 28 Jan 2020 17:31:40 +0000 (19:31 +0200)]
Target-specific, compiler-aware warnings.
Maksym Mamontov [Tue, 28 Jan 2020 17:23:41 +0000 (19:23 +0200)]
GCC version, warnings.
Maksym Mamontov [Tue, 28 Jan 2020 17:05:25 +0000 (19:05 +0200)]
Lower C++ version, minmal GCC version, compiler-related flags.
Maksym Mamontov [Tue, 28 Jan 2020 16:43:43 +0000 (18:43 +0200)]
Remove some more std::list.
Maksym Mamontov [Tue, 28 Jan 2020 15:43:23 +0000 (17:43 +0200)]
Fix build on OSX.
Maksym Mamontov [Mon, 27 Jan 2020 21:30:18 +0000 (23:30 +0200)]
Remove some more std::list.
Maksym Mamontov [Mon, 27 Jan 2020 21:23:57 +0000 (23:23 +0200)]
Remove std::list from actions.
Maksym Mamontov [Mon, 27 Jan 2020 21:20:21 +0000 (23:20 +0200)]
Remove std::list from tariffs.
Maksym Mamontov [Mon, 27 Jan 2020 21:02:05 +0000 (23:02 +0200)]
Replace STG::ARRAY with std::array.
Maksym Mamontov [Mon, 27 Jan 2020 20:58:14 +0000 (22:58 +0200)]
Replace boost::scoped_ptr with std::unique_ptr.
Maksym Mamontov [Mon, 27 Jan 2020 20:53:35 +0000 (22:53 +0200)]
Remove x2str/unsigned2str in favor of std::to_string.
Maksym Mamontov [Sun, 19 Jan 2020 17:42:11 +0000 (19:42 +0200)]
Fix funtests to work with the new build system.
Maksym Mamontov [Sun, 19 Jan 2020 10:23:02 +0000 (12:23 +0200)]
Remove some old stuff.
Maksym Mamontov [Sun, 19 Jan 2020 10:11:47 +0000 (12:11 +0200)]
Reorganize plugins.
Maksym Mamontov [Sun, 12 Jan 2020 17:23:12 +0000 (19:23 +0200)]
Remove Makefiles from libs.
Maksym Mamontov [Sun, 12 Jan 2020 17:22:37 +0000 (19:22 +0200)]
Restructure libs.
Maksym Mamontov [Tue, 7 Jan 2020 20:07:42 +0000 (22:07 +0200)]
Add missing file template.
Maksym Mamontov [Tue, 7 Jan 2020 20:05:20 +0000 (22:05 +0200)]
Fix sgauth build (css embedding).
Maksym Mamontov [Tue, 7 Jan 2020 18:06:53 +0000 (20:06 +0200)]
Add Boost to Travis.
Maksym Mamontov [Tue, 7 Jan 2020 17:42:38 +0000 (19:42 +0200)]
Install some necessary libs in Travis.
Maksym Mamontov [Tue, 7 Jan 2020 17:38:00 +0000 (19:38 +0200)]
Update Travis config.
Maksym Mamontov [Tue, 7 Jan 2020 17:35:08 +0000 (19:35 +0200)]
Port to CMake, get rid of os_int.h.
Maksym Mamontov [Wed, 1 Jan 2020 19:12:22 +0000 (21:12 +0200)]
Merge branch 'stg-2.409-radius'
Maksym Mamontov [Wed, 1 Jan 2020 19:11:53 +0000 (21:11 +0200)]
Merge branch 'stg-2.409'
Maxim Mamontov [Sun, 11 Mar 2018 10:12:32 +0000 (12:12 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sun, 18 Feb 2018 17:48:42 +0000 (19:48 +0200)]
Remove redundand ctors.
Maxim Mamontov [Sun, 18 Feb 2018 17:48:08 +0000 (19:48 +0200)]
Unused code.
Maxim Mamontov [Sun, 18 Feb 2018 17:17:04 +0000 (19:17 +0200)]
Variable scope reduction.
Maxim Mamontov [Sun, 18 Feb 2018 17:12:49 +0000 (19:12 +0200)]
Minor changes.
Maxim Mamontov [Sun, 18 Feb 2018 17:09:28 +0000 (19:09 +0200)]
Remove dead code.
Maxim Mamontov [Sun, 18 Feb 2018 16:54:01 +0000 (18:54 +0200)]
Minor changes.
Maxim Mamontov [Sun, 18 Feb 2018 15:31:17 +0000 (17:31 +0200)]
Remove redindand ctors from USER_IPS.
Maxim Mamontov [Sun, 18 Feb 2018 14:57:57 +0000 (16:57 +0200)]
Explicit prohibition of the PLUGIN_LOGGER assignment.
Maxim Mamontov [Wed, 14 Feb 2018 10:34:27 +0000 (12:34 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Wed, 14 Feb 2018 10:29:56 +0000 (12:29 +0200)]
Merge remote-tracking branch 'origin/ticket52' into stg-2.409
Maxim Mamontov [Wed, 14 Feb 2018 08:17:11 +0000 (10:17 +0200)]
Fix build on FreeBSD.
Elena Mamontova [Mon, 12 Feb 2018 11:07:33 +0000 (13:07 +0200)]
Ticket 52. Definition of the tariff pointer added to the
USER_IMPL::Init() function.
Maxim Mamontov [Wed, 10 Jan 2018 21:05:49 +0000 (23:05 +0200)]
More verbose debug.
Maxim Mamontov [Sat, 21 Jan 2017 19:26:32 +0000 (21:26 +0200)]
Minor fixes.
Maxim Mamontov [Sat, 21 Jan 2017 19:05:30 +0000 (21:05 +0200)]
Merge branch 'stg-2.409'
Maxim Mamontov [Sat, 21 Jan 2017 19:02:07 +0000 (21:02 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Sat, 21 Jan 2017 18:19:06 +0000 (20:19 +0200)]
Various fixes of issues reported by static analyzers.
Elena Mamontova [Thu, 19 Jan 2017 14:46:41 +0000 (16:46 +0200)]
Ticket 37. The construction if-else removed and ReadString() changed to
ReadTime() for the ChangedPolicyTimeout in the RestoreTariff().
Elena Mamontova [Wed, 18 Jan 2017 17:45:44 +0000 (19:45 +0200)]
Ticket 37. The readTime() changed to str2x(), default value in the
ReadString() changed to "0" for the changePolicyTimeout field in the
RestoreTariff() function.
Elena Mamontova [Wed, 28 Dec 2016 13:32:32 +0000 (15:32 +0200)]
Ticket 37. WriteString() changed to WriteTime() and formatTime() remowed
for the ChangePolicyTimeout field in the SaveTariff() function in
file_store.cpp.
Elena Mamontova [Wed, 28 Dec 2016 06:40:42 +0000 (08:40 +0200)]
Ticket 37. WriteTime() changed to WriteString() and formatTime() added
for the ChangePolicyTimeout field in the SaveTariff() function in
file_store.cpp.
Elena Mamontova [Thu, 19 Jan 2017 14:00:03 +0000 (16:00 +0200)]
Merge remote-tracking branch 'origin/master' into ticket
Elena Mamontova [Thu, 19 Jan 2017 13:35:29 +0000 (15:35 +0200)]
Ticket. GetChangePolicyTimeout() function removed.
GetChangePolicyTimeout parameter removed in AddParser() function in
PARSER() constructor.
Maxim Mamontov [Thu, 22 Dec 2016 20:25:24 +0000 (22:25 +0200)]
Merge branch 'stg-2.409'
Maxim Mamontov [Thu, 22 Dec 2016 20:24:24 +0000 (22:24 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Maxim Mamontov [Thu, 22 Dec 2016 20:23:56 +0000 (22:23 +0200)]
Fix XMLRPC doc build.
Maxim Mamontov [Thu, 22 Dec 2016 20:04:28 +0000 (22:04 +0200)]
Merge branch 'stg-2.409' of stg.codes:stg into stg-2.409
Maxim Mamontov [Thu, 22 Dec 2016 19:56:56 +0000 (21:56 +0200)]
Merge remote-tracking branch 'origin/ticket'
Maxim Mamontov [Thu, 22 Dec 2016 19:56:09 +0000 (21:56 +0200)]
Merge branch 'stg-2.409'
Maxim Mamontov [Thu, 22 Dec 2016 19:46:27 +0000 (21:46 +0200)]
Merge branch 'stg-2.409' into stg-2.409-radius
Elena Mamontova [Tue, 20 Dec 2016 13:31:06 +0000 (15:31 +0200)]
Ticket 37. In the if() construction for the changePolicyTimeout
ReadTime() changed to ReadString(), else construction added, error
message remowed in RestoreTariff().
Maxim Mamontov [Thu, 15 Dec 2016 19:05:11 +0000 (21:05 +0200)]
Minor changes.
Elena Mamontova [Mon, 12 Dec 2016 13:18:05 +0000 (15:18 +0200)]
Ticket 37. In the TariffChangeIsAllowed() function return "" added and
unnecessary brackets removed in the if (currentTime > timeout && timeout != 0).
Elena Mamontova [Wed, 30 Nov 2016 14:17:21 +0000 (16:17 +0200)]
Ticket 37. test<11>, test<12>, test<13> added. Current time argument
added in the TariffChangeIsAllowed() function in test<7>, test<8>,
test<9>, test<10>.
Elena Mamontova [Wed, 30 Nov 2016 14:04:52 +0000 (16:04 +0200)]
Ticket 37. '../stglibs/common.lib/strptime.cpp' added in the
Makefile.darwin.
Elena Mamontova [Wed, 30 Nov 2016 14:02:03 +0000 (16:02 +0200)]
Ticket 37. '../stglibs/common.lib/strptime.cpp' added in the Makefile.
Elena Mamontova [Mon, 28 Nov 2016 13:24:46 +0000 (15:24 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.
Elena Mamontova [Mon, 28 Nov 2016 13:23:19 +0000 (15:23 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.
Elena Mamontova [Mon, 28 Nov 2016 13:21:47 +0000 (15:21 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.
Elena Mamontova [Mon, 28 Nov 2016 13:18:37 +0000 (15:18 +0200)]
Ticket 37. The stgTime argument added in TariffChangeIsAllowed()
function call.
Elena Mamontova [Mon, 28 Nov 2016 13:12:12 +0000 (15:12 +0200)]
Ticket 37. The time_t currentTime parameter added in
TariffChangeIsAllow() function decfinition. The brackets added in
construction if ((currentTime > timeout) && (timeout != 0)).
Elena Mamontova [Mon, 28 Nov 2016 13:07:46 +0000 (15:07 +0200)]
Ticket 37. The time_t currentTime parameter added in
TariffChangeIsAllow() function declaration.
Elena Mamontova [Mon, 28 Nov 2016 13:02:47 +0000 (15:02 +0200)]
Ticket 37. The time_t currentTime parameter added in
TariffChangeIsAllow() function declaration.
Elena Mamontova [Thu, 17 Nov 2016 08:06:55 +0000 (10:06 +0200)]
Ticket 37. if (year < 1990) checking added in the ts2time() function.
Maxim Mamontov [Sun, 13 Nov 2016 02:12:56 +0000 (21:12 -0500)]
Fix passing params to OnDisconnect in rscriptd.
Maxim Mamontov [Sun, 13 Nov 2016 02:12:39 +0000 (21:12 -0500)]
Fix build on Darwin.
Maxim Mamontov [Thu, 15 Dec 2016 19:05:11 +0000 (21:05 +0200)]
Minor changes.