+++ /dev/null
-[submodule "botm-common"]
- path = botm-common
- url = ../../botm/common-perl
#
# The wordgame interface
#
-# Copyright (C) 2016, 2017, 2023, 2024 Balthasar Szczepański
+# Copyright (C) 2016, 2017, 2023, 2024, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
+ 'open_encoded'
+);
+use botm_url (
+ 'merge_url',
+ 'url_query_decode', 'url_query_encode'
+);
+use botm_http (
'HTTP_STATUS',
- 'merge_settings',
'fail_method', 'fail_content_type',
'http_header_status', 'http_header_allow',
- 'merge_url',
- 'read_header_env',
- 'html_entity_encode_dec',
- 'url_query_decode', 'url_query_encode',
- 'open_encoded'
+ 'read_header_env'
+);
+use botm_data_file (
+ 'merge_settings'
+);
+use botm_html_encode (
+ 'html_entity_encode_dec'
);
use bsta_lib (
'STATE', 'INTF_STATE',
#
# The attachment interface
#
-# Copyright (C) 2016, 2023, 2024 Balthasar Szczepański
+# Copyright (C) 2016, 2023, 2024, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
+ 'join_path',
+ 'open_encoded', 'stat_encoded'
+);
+use botm_url (
+ 'url_query_decode',
+ 'merge_url'
+);
+use botm_http (
'HTTP_STATUS',
- 'merge_settings',
'fail_method', 'fail_content_type', 'fail_attachment', 'fail_500',
'redirect',
'read_header_env',
- 'url_query_decode',
- 'join_path',
- 'merge_url',
- 'open_encoded', 'stat_encoded',
'http_header_line', 'http_header_content_length', 'http_header_content_disposition'
);
+use botm_data_file (
+ 'merge_settings'
+);
+
use bsta_lib (
'STATE',
'get_id', 'get_password',
#
# The bbcode interface
#
-# Copyright (C) 2017, 2023, 2024 Balthasar Szczepański
+# Copyright (C) 2017, 2023, 2024, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_url (
+ 'url_query_decode',
+ 'merge_url'
+);
+use botm_http (
'HTTP_STATUS',
'fail_method', 'fail_content_type',
'read_header_env',
- 'url_query_decode',
- 'merge_url',
- 'http_header_status',
+ 'http_header_status'
+);
+use botm_data_file (
'merge_settings'
);
use bsta_lib (
+++ /dev/null
-Subproject commit b3ffb0f0c3c240103a57c98c930d806f748f05a1
'eval_bb', 'bb_to_bbcode', 'bb_to_html'
);
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
- 'HTTP_STATUS',
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+use botm_system (
+ 'join_path',
+ 'copy_encoded', 'open_encoded', '_x_encoded',
+);
+use botm_url (
'url_query_decode', 'url_query_encode',
'url_decode', 'url_encode',
- 'html_entity_encode_dec',
- 'merge_url',
+ 'merge_url'
+);
+use botm_http (
+ 'HTTP_STATUS',
'read_header_env',
- 'read_data_file', 'write_data_file',
- 'join_path',
- 'copy_encoded', 'open_encoded', '_x_encoded',
'http_header_line', 'http_status',
'http_header_status', 'http_header_allow', 'http_header_location',
+);
+use botm_data_file (
+ 'read_data_file', 'write_data_file',
'merge_settings'
);
+use botm_html_encode (
+ 'html_entity_encode_dec'
+);
###PERL_PATH_SEPARATOR: PATH_SEPARATOR = /
#
# The coincidence interface
#
-# Copyright (C) 2016, 2017, 2023, 2024, 2025 Balthasar Szczepański
+# Copyright (C) 2016, 2017, 2023, 2024, 2025, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
+ 'open_encoded'
+);
+use botm_url (
+ 'url_query_decode', 'url_query_encode',
+ 'merge_url'
+);
+use botm_http (
'HTTP_STATUS',
'fail_method', 'fail_content_type',
'read_header_env',
- 'url_query_decode', 'url_query_encode',
- 'merge_url',
- 'html_entity_encode_dec',
- 'open_encoded',
- 'http_header_status',
+ 'http_header_status'
+);
+use botm_data_file (
'merge_settings'
);
+use botm_html_encode (
+ 'html_entity_encode_dec'
+);
use bsta_lib (
'STATE', 'CHAT_STATE', 'CHAT_ACTION',
'get_remote_addr', 'get_id', 'get_password',
#
# The frame interface
#
-# Copyright (C) 2016, 2023, 2024 Balthasar Szczepański
+# Copyright (C) 2016, 2023, 2024, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
+ 'join_path',
+ 'open_encoded', 'stat_encoded'
+);
+use botm_url (
+ 'url_query_decode',
+ 'merge_url'
+);
+use botm_http (
'HTTP_STATUS',
'fail_method', 'fail_content_type', 'fail_open_file', 'fail_500', 'redirect',
'read_header_env',
- 'url_query_decode',
- 'join_path',
- 'merge_url',
- 'open_encoded', 'stat_encoded',
- 'http_header_line', 'http_header_content_length', 'http_header_content_disposition',
+ 'http_header_line', 'http_header_content_length', 'http_header_content_disposition'
+);
+use botm_data_file (
'merge_settings'
);
use bsta_lib (
#
# The frame list
#
-# Copyright (C) 2017, 2023, 2024 Balthasar Szczepański
+# Copyright (C) 2017, 2023, 2024, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
+ '_x_encoded'
+);
+use botm_url (
+ 'url_query_decode'
+);
+use botm_http (
'fail_method', 'fail_content_type',
'redirect',
- 'read_header_env',
- 'url_query_decode',
- '_x_encoded',
+ 'read_header_env'
+);
+use botm_data_file (
'merge_settings'
);
use bsta_lib (
#
# The frame/story info interface
#
-# Copyright (C) 2017, 2023, 2024 Balthasar Szczepański
+# Copyright (C) 2017, 2023, 2024, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_url (
+ 'url_query_decode'
+);
+use botm_http (
'HTTP_STATUS',
'fail_method', 'fail_content_type',
'http_header_status',
- 'read_header_env',
+ 'read_header_env'
+);
+use botm_data_file (
'write_data_file',
- 'url_query_decode',
'merge_settings'
);
use bsta_lib (
$(PERL_WRAP_EXEC)
LIB=\
-botm-common/botm_common.pm\
bsta_lib.pm
WWW=\
$(PERL_WRAP_EXEC)
LIB=\
-botm-common/botm_common.pm\
bsta_lib.pm
WWW=\
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
- 'open_encoded',
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
+ 'open_encoded'
);
use bsta_lib (
'STATE',
#
# The comment posting interface
#
-# Copyright (C) 2024, 2025 Balthasar Szczepański
+# Copyright (C) 2024, 2025, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
- 'HTTP_STATUS',
- 'fail_method', 'fail_content_type',
- 'redirect',
- 'read_header_env', 'url_query_decode',
- 'write_data_file',
- 'html_entity_encode_dec',
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
'open_encoded',
'join_path',
- 'merge_settings',
+ 'make_id'
+);
+use botm_url (
'merge_url',
- 'make_id',
+ 'url_query_decode',
+);
+use botm_http (
+ 'HTTP_STATUS',
+ 'fail_method', 'fail_content_type',
+ 'redirect',
+ 'read_header_env',
'http_header_status'
);
+use botm_data_file (
+ 'write_data_file',
+ 'merge_settings'
+);
+use botm_html_encode (
+ 'html_entity_encode_dec'
+);
use bsta_lib (
'TEXT_MODE', 'STATE',
'get_password',
use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
- 'write_data_file',
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
'opendir_encoded', 'readdir_decoded', 'unlink_encoded',
- 'join_path',
+ 'join_path'
+);
+use botm_data_file (
+ 'write_data_file',
'merge_settings'
);
use bsta_lib (
rm : /usr/bin/rm
sudo : /usr/bin/sudo
-oldlogs : /botm/bin/oldlogs/oldlogs.pl
-configure: /botm/bin/config-1.3/configure.pl
-exec : /botm/lib/exec
+oldlogs : /botm/bin/oldlogs/oldlogs.pl
+configure : /botm/bin/config-1.3/configure.pl
+exec : /botm/lib/exec
+botm_common: /botm/lib/botm-common-perl-2.0
CC: /usr/bin/gcc
CF: -g -Wall
rm : /usr/bin/rm
sudo : /usr/bin/sudo
-oldlogs : /botm/bin/oldlogs/oldlogs.pl
-configure: /botm/bin/config-1.3/configure.pl
-exec : /botm/lib/exec
+oldlogs : /botm/bin/oldlogs/oldlogs.pl
+configure : /botm/bin/config-1.3/configure.pl
+exec : /botm/lib/exec
+botm_common: /botm/lib/botm-common-perl-2.0
CC: /usr/bin/gcc
CF: -g -Wall
rm : /usr/bin/rm
sudo : /usr/bin/sudo
-oldlogs : /botm/bin/oldlogs/oldlogs.pl
-configure: /botm/bin/config-1.3/configure.pl
-exec : /botm/lib/exec
+oldlogs : /botm/bin/oldlogs/oldlogs.pl
+configure : /botm/bin/config-1.3/configure.pl
+exec : /botm/lib/exec
+botm_common: /botm/lib/botm-common-perl-2.0
CC: /usr/bin/gcc
CF: -g -Wall
MAKE_EXEC_SETTINGS = EXEC_SETTINGS = $_exec_settings
-PERL_LIB = @_PERL_USE_2(lib, @_PERL_STR($lib_path))
+PERL_LIB = @_PERL_USE_2(lib, @_PERL_STR($lib_path ))
+PERL_LIB_COMMON = @_PERL_USE_2(lib, @_PERL_STR($botm_common))
PERL_SET_PATH = \$ENV{'PATH'} = @_PERL_STR($path);
#
# update already ONGed frames & stuff
#
-# Copyright (C) 2016, 2017, 2023, 2024, 2025 Balthasar Szczepański
+# Copyright (C) 2016, 2017, 2023, 2024, 2025, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
use Encode ('encode', 'decode');
###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
-);
use bsta_lib (
'STATE',
'ong',
#
# The viewer interface
#
-# Copyright (C) 2016, 2017, 2019, 2020, 2023, 2024 Balthasar Szczepański
+# Copyright (C) 2016, 2017, 2019, 2020, 2023, 2024, 2026 Balthasar Szczepański
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# use Encode::Locale ('decode_argv');
use Encode ('encode', 'decode');
-###PERL_LIB: use lib /botm/lib/bsta
-use botm_common (
+###PERL_LIB_COMMON: use lib /botm/lib/botm-common-perl-2.0
+###PERL_LIB: use lib /botm/lib/bsta
+use botm_system (
+ 'join_path',
+ 'open_encoded', '_x_encoded',
+);
+use botm_url (
+ 'merge_url',
+ 'url_query_decode'
+);
+use botm_http (
'HTTP_STATUS',
'fail_method', 'fail_content_type', 'redirect',
'read_header_env',
- 'url_query_decode',
- 'join_path',
- 'open_encoded', '_x_encoded',
- 'http_header_status',
- 'merge_settings',
- 'merge_url'
+ 'http_header_status'
+);
+use botm_data_file (
+ 'merge_settings'
);
use bsta_lib (
'STATE', 'TEXT_MODE', 'INTF_STATE',