Commit graph

201 commits

Author SHA1 Message Date
ansuz
fede73efb1 enable admin option to opt-in to aggregate statistics 2022-09-22 16:35:20 +05:30
ansuz
27522b5114 add button to custom limits table to generate account reports
and always display results in the table rather than the list view
2022-09-20 16:40:15 +05:30
ansuz
9ef5711716 nicer quota table on admin panel 2022-09-14 13:34:37 +05:30
ansuz
ebb17797e3 oops. lint compliance 2022-09-13 18:36:24 +05:30
ansuz
333ba82970 allow admins to overwrite live data with archived data when both exist 2022-09-13 18:32:50 +05:30
ansuz
576b034547 display multiple public key formats when relevant on /admin/#database 2022-09-09 18:26:21 +05:30
ansuz
772e337803 remove XXX notes 2022-09-07 16:49:16 +05:30
ansuz
6349f01fd7 final translation fixes for admin panel
* add a 'reason' placeholder to prompts shown before archival and restoration
* use two existing keys to describe what document archival and restoration do
* use specific success messages where they already exist
* annotate UI so our script does not flag translated strings as unused
2022-09-07 16:22:08 +05:30
ansuz
8089698f4c remove noscript tags from inner.html
because inner.html should only ever load if javascript is enabled
2022-09-05 19:11:19 +05:30
ansuz
af59854aca accessibility fixes on admin panel support ticket buttons 2022-08-30 16:46:13 +05:30
ansuz
524ba22c46 update hardcoded preloading.js cache-busting version string 2022-08-30 14:27:10 +05:30
ansuz
d6c6423f19 admin panel improvements
* copy pin list to clipboard
* support blob URLs in document metadata query
* get metadata history
2022-08-26 18:05:27 +05:30
ansuz
0f5aca685a fix typo 2022-08-25 19:43:49 +05:30
ansuz
3abda41835 fix an incorrect translation key 2022-08-25 18:20:40 +05:30
ansuz
2183349358 copy admin database reports to clipboard, remove more hardcoded keys 2022-08-25 16:39:15 +05:30
ansuz
854cb653aa remove hardcoded translations 2022-08-25 13:32:27 +05:30
ansuz
af4fbaf31a remove some hardcoded translations 2022-08-24 14:40:19 +05:30
ansuz
843139a256 update 'Launch time' when refreshing stats 2022-08-24 14:40:02 +05:30
ansuz
6cfce42c58 refactor admin panel and include reasons for archiving and restoring 2022-08-24 10:10:32 +05:30
ansuz
525d9fc3dc don't warn for ENOENT errors when checking account information 2022-08-23 16:10:11 +05:30
ansuz
db5cb8df3d guard against type errors when admin db queries fail 2022-08-22 15:51:46 +05:30
yflory
1227fceba5 Merge remote-tracking branch 'origin/db-insight' into 5.1-candidate 2022-08-17 11:17:18 +02:00
yflory
d5272874fb Add version string to placeholder .js and .css files 2022-08-17 11:14:51 +02:00
ansuz
6f81f68498 include block public key in login-block info table 2022-08-12 13:17:06 +05:30
ansuz
f47f0db136 correct overly strict blockLocation validation 2022-08-12 13:14:18 +05:30
ansuz
31f61c7f1d refactor admin database tab 2022-08-11 18:30:19 +05:30
ansuz
60e58e8f7a first version of admin 'database' tab 2022-08-11 11:53:03 +05:30
ansuz
d94a110105 accept channel and file ids in admin archival form 2022-08-09 16:29:10 +05:30
Maxime Cesson
0d75a2a92a Load pre-loading script and stylesheet before every others 2022-08-02 16:19:38 +02:00
ansuz
6942cdcf4b display correct count of support tickets per category 2022-08-02 17:01:47 +05:30
Maxime Cesson
24ccb6d9e7 Apply placeholder to all relevant applications on a slow connection #865
Made with the following command from the cryptpad/ root directory:

$ patternStatic='(<link href=\"\/customize\/src\/outer\.css.*$|<script async data-bootload=\"\/customize\/template\.js\".*$)';
$ pattern2='<style>$';
$ js='<script src=\"\/customize\/pre-loading\.js\"><\/script>';
$ css='<link href=\"\/customize\/src\/pre-loading\.css\" rel=\"stylesheet\" type=\"text\/css\">';
$ find . -name 'index.html' | grep -v -E '(onlyoffice|bower_components|node_modules)' | while read x; \
do if [ `grep -cE "$pattern" $x` -gt 0 ]; then sed -E "s/($pattern)/$js\n    \1\n    $css/" $x > tmp; \
mv tmp $x; y=`echo $x | sed 's/index\.html/inner\.html/'`; if [ -f "$y" ]; then \
sed -E "s/($pattern2)/$js\n    $css\n    \1/" $y > tmp; mv tmp $y; fi; fi; done
2022-07-13 13:21:38 +02:00
ansuz
066cb2377c fix double-margin on admin panel input 2022-05-30 15:33:15 +05:30
ansuz
cc141ebee8 improve translation linting 2022-05-13 19:18:26 +05:30
ansuz
958b3e4376 remove references to removed pages and notes that have been addressed 2022-05-13 15:50:38 +05:30
ansuz
633b8e062f lint compliance 2022-05-13 15:20:48 +05:30
David Benqué
3f6afcd3fb Remove hard-coded translation keys 2022-05-13 09:38:27 +01:00
ansuz
071c9706af accept both new and old data format for server info on admin panel 2022-05-10 13:11:53 +05:30
ansuz
a2731c44b0 assorted home page fixes/improvements
* link to home page from other static pages
* home notice
  * moved to the top of the home page
  * configured via server API instead of application_config.js
  * WIP admin panel UI
* more debugging info for unsupported decrees
* lint compliance probably
2022-05-06 13:55:00 +05:30
ansuz
841884c631 translated warnings for people that use AdGuard 2022-04-01 16:40:26 +05:30
ansuz
dae6d7fc1e add hints for translation linting and remove notes 2022-03-25 16:53:10 +05:30
ansuz
6253c7c61c don't panic if unsafeiframe is loaded with unsafe-eval 2022-03-25 12:01:50 +05:30
ansuz
e6c51e3dff remove hardcoded translations and invert remote embedding logic 2022-03-24 12:43:16 +05:30
ansuz
4c53d9b509 enforce only loading inner.html from nested contexts 2022-03-23 13:31:52 +05:30
ansuz
b6c9c3cabe Merge branch 'blocking' into 4.14 2022-03-22 12:15:13 +05:30
ansuz
19f4d48ae6 reuse a preexisting key on the admin panel 2022-03-22 11:43:56 +05:30
ansuz
52b423e9ba remove a temporary comment and a hardcoded translation 2022-03-15 16:20:22 +05:30
ansuz
87f6f97cca prompt admins to flush cache when relevant
also remove some accidentally duplicated code
2022-03-15 15:28:20 +05:30
ansuz
e38e08fb6e Merge branch 'soon' into block-embeds 2022-03-14 12:52:55 +05:30
ansuz
5a5f102a49 even faster admin-support redraw 2022-03-11 19:27:07 +05:30
ansuz
8db8250865 Merge branch '4.14' into soon 2022-03-11 17:12:10 +05:30