Commit graph

2536 commits

Author SHA1 Message Date
6eb1feb5cd
Update helma.service 2024-01-05 21:52:35 +01:00
0e8f04c0f5 Replace for..each loops with for..of 2023-08-26 22:32:44 +02:00
796a6e7337 Enable ES6 features in Rhino 2023-08-26 21:29:54 +02:00
58d893f044
Create helma.service
Add SystemD unit file with reasonable settings

See <https://www.baeldung.com/linux/run-java-application-as-service>
2023-05-07 01:29:35 +02:00
9a0cf1a22d Add DatabaseObject.executePreparedRetrieval() method 2023-03-05 13:00:13 +01:00
411b9198e4 Change creation of HopSession cookie value
Only include one of either, IP forwarded by proxy or remote address
2021-09-05 14:55:42 +02:00
85e8088e40 Clean up upstart files 2021-04-18 19:50:07 +02:00
Robert Gaggl
4b9b78bb0f Cherry-pick 390231e8dd 2021-03-06 19:11:48 +01:00
Robert Gaggl
62291171e3 res.setCookie() now accepts boolean httponly and secure flags
httponly defaults to true, secure to false
2021-03-06 18:52:18 +01:00
b91ee88304 add: some colors to log output 2020-05-15 21:58:10 +02:00
c984d3c4a2 fix: exception when trying to copy helma.xsl 2020-04-05 21:32:12 +02:00
ae50bc562e del: obsolete entity table and test method 2020-03-27 21:13:11 +01:00
75f609d095 fix: updated list of tags according to MDN 2020-03-27 21:08:51 +01:00
9950f4df46 del: outdated list of and check for “all” tags 2020-03-27 20:10:11 +01:00
5a958b2980 fix: regression from foolishly replacing a nullstring with space 2020-03-21 20:41:28 +01:00
540d0eb0fc fix: concat res.write() arguments with spaces 2020-03-21 20:05:12 +01:00
dd53c6f365 fix: undesired newlines between multiple arguments in res.writeln() 2020-03-21 19:23:18 +01:00
Daniel Ruthardt
4d92cec456 Resolves issue #115. 2020-03-21 15:53:06 +01:00
768b7b5ed3 Merge branch 'helma-js' into helma-🐜 2020-03-21 15:46:12 +01:00
23fdb31348 add: support for importing code using require() method (commonjs) 2020-03-21 14:40:26 +01:00
Daniel Ruthardt
db8d239c32 Minor code simplification. 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
9960e1c919 Removed obsolete class. 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
541286dc59 Fixed issue (persistent sessions did not work anymore).
Persistent sessions did not work anymore, because the Application
(which became part of the information to be serialized at some point in
time) was not serializable.
2020-03-21 14:40:00 +01:00
Daniel Ruthardt
e0f590da98 Added missing @Deprecated annotations. (cherry picking from commit be90106b8430386d93ecba7afcd465c09e2b0125) 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
37307708fd Removed standalone MD5Encoder implementation and replaced usage of it with Apache Commons Codec. 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
5abe737912 Added syncrhonization to methods who's overridden parent methods have synchronization as well. (cherry picking from commit 36d2021fe7178d6686b5843c6f57bbf41bfd30c2) 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
468a89bd05 Fixed version requirement / version check mismatch.
Although requiring a higher version of Java, this was not yet checked
correctly in the code.
2020-03-21 14:40:00 +01:00
Daniel Ruthardt
7f3bb3a85b Added generated serial version identifiers. (cherry picking from commit abbe243d4af0636541defcc75f74400dffefc00a) 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
1acd176aa5 Fixed deprecation issues. (cherry picking from commit b50bfdfd00b380061c6baa3dab1d7d5c89e616a3) 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
7cafee58c4 Added check to make sure that all code resources are returned at any point in time (i.e. even in application startup phase, when prototype has maybe never been updated before). (cherry picking from commit 5880fc27d323b82f508e5b5234999ebbd9bbb4ad) 2020-03-21 14:40:00 +01:00
Daniel Ruthardt
eda05c731a Resolves issue #40.
http://github.com/helma-next/helma-next/issues#issue/40
2020-03-21 14:40:00 +01:00
0929cd1e57 Removed standalone Base64 implementation and replaced usage of it with Apache Commons Codec's Base64 implementation. 2020-03-21 14:40:00 +01:00
39f565252f chg: further replaced helma’s md5 implementation with apache commons codec 2020-03-21 14:40:00 +01:00
8e973d1a1a fix: removed / replaced orphaned helma links 2020-03-21 14:40:00 +01:00
c2fcc1867a chg: cast each array element to string 2020-03-21 14:40:00 +01:00
Jürg Lehni
47fecff5b4 Fix sendForward() to define Content-Range header, as required by HTML5 audio and video tags. 2020-03-21 14:40:00 +01:00
Jürg Lehni
63b4ec8512 Escape backslash (\) in SQL Strings as they can break queries unescaped. 2020-03-21 14:40:00 +01:00
bd552751f5 chg: moved launcher source files into subproject 2020-03-21 14:39:59 +01:00
39af201e78 del: self-made start scripts (generated by gradle now) 2020-03-21 14:39:59 +01:00
56e9f6793b chg: moved http and xmlrpc port settings into server.properties 2020-03-21 14:39:59 +01:00
5cbeb9f01d chg: replaced ant with gradle 2020-03-21 14:39:59 +01:00
7d6fb8f903 chg: upgrade dependencies 2020-03-21 14:39:59 +01:00
Daniel Ruthardt
f7e52dbad5 Don't assume a specific system class loader.
The issue was encountered using Oracle JDK9 on Debian stretch arm64.
2020-03-21 14:39:59 +01:00
c07e4a9d7f chg: upgraded rhino to version 1.7.9 2020-03-21 14:39:58 +01:00
8d62f24bee chg: sorted lines 2020-03-21 14:39:58 +01:00
825ccb6463 chg: upgraded commons net lib 2020-03-21 14:39:57 +01:00
5902bf9d7f chg: upgraded jetty to version 9.4.3.v20170317
cherry-picked from 390231e8dd
2020-03-21 14:36:36 +01:00
6571f4ff1b wip: removing ajp support 2020-03-21 14:36:36 +01:00
03e2718ff5 fix: null pointer exception
if argument is null in res.debug() / write() / writeln()
2020-03-21 14:36:36 +01:00
00762cf495 del: inline css styles from helma debug lines 2020-03-21 14:36:36 +01:00