Commit graph

20 commits

Author SHA1 Message Date
emanuele-f
15c013922d Improve plugins reload to avoid transient errors
A "shadow directory" is now populated when the reload occurs and then swapped as the active directory.
This avoids breaking the directory structure or changing files when other threads are possibly working
on them.

Fixes #3595
2020-03-26 14:21:11 +01:00
emanuele-f
962421be56 Add support for Japanese languange in nEdge 2020-02-13 16:10:18 +01:00
Luca Deri
170bc60f19 Updated (C) 2020-01-08 23:52:51 +01:00
Simone Mainardi
98b51ab00a Checks return value of loadfile chunks to protect against nils
Provides additional debugging info for #3195
2020-01-07 16:08:43 +01:00
emanuele-f
52df5b25dc Implement i18n lazy loading
Fixes #3096
2019-12-12 18:23:12 +01:00
emanuele-f
a3432e00e8 Implement ntopng plugins
Plugins are a convenient way to group together related lua scripts.
Their primary use case is to group user scripts and their alert/status
definition.
The builtin ntopng user scripts and definitions are now
packed into plugins directories. In future, we will support loading of
user created plugins.
Plugins are loaded at startup into some runtime directories and then
used. Other changes provided by this commit include:

- Add sample flow logger plugin
- Initial support for system user scripts
- Rename edge to threshold
- Migrate system probes to user scripts/plugins
- Migrate scripts to more explicit alerts_api.checkThresholdAlert api
2019-12-10 09:25:57 +01:00
Simone Mainardi
e10dfb1b24 Fixes for the CZ translation 2019-10-30 16:41:19 +01:00
Simone Mainardi
ce5d7d8400 Adds Portuguese/Brazilian localization file
Work Courtesy of Alexandre Giovaneli
2019-04-16 10:11:28 +02:00
Simone Mainardi
2c50c66532 Fixes locales ordering 2019-03-18 16:37:55 +01:00
Simone Mainardi
4b30932d36 Fixes encoding issue with jp lang file 2019-03-04 10:11:10 +01:00
emanuele-f
ce426bbd71 Fix language selection issues during first start
Fix #2405
2019-02-19 11:01:21 +01:00
Simone Mainardi
04d1bd2029 Handles locales in community mode 2019-01-07 15:02:59 +01:00
emanuele-f
c3298d527d Use admin language as default system language
Fixes #2059
2018-09-25 17:34:36 +02:00
Luca Deri
00004494bf Reworked alarms
Added informative message at ntopng startup/shutdown
2018-04-13 17:19:58 +02:00
Luca Deri
f0c936c368 Updated (C) to 2018 2018-03-22 21:59:42 +01:00
emanuele-f
8ff93579aa Implement informative alert when a new MAC address is observed/re-seen/disappears
Implements #1659
2018-02-21 12:42:01 +01:00
emanuele-f
f84b5b7a21 Enforce localization sort order 2018-02-19 14:07:22 +01:00
emanuele-f
48bf411e72 Avoid localization errors when going to pro version back to community 2018-02-08 18:49:49 +01:00
emanuele-f
ff08a2bfd9 Mode other localization files to pro 2018-02-08 18:37:12 +01:00
Simone Mainardi
5dfbf87bba Implements a locales_utils file to handle language changes 2017-07-19 12:08:16 +02:00