Commit graph

332 commits

Author SHA1 Message Date
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
ansuz
4e571e0e8e final cleanup before merging support-categories 2022-03-10 16:08:13 +05:30
ansuz
45d2eb0267 Merge branch 'soon' of github.com:xwiki-labs/cryptpad into support-categories
and include some tweaks for the checkup page

* sort errors above warnings
* improve messages for new tests
2022-03-10 11:33:41 +05:30
ansuz
46e9c6bc05 lint compliance 2022-03-08 10:41:15 +05:30
ansuz
8398c05f1a Merge branch 'justification' into mar7 2022-03-07 19:03:06 +05:30
ansuz
b65730b853 allow admins to enable configurable disk I/O profiling 2022-03-07 18:42:00 +05:30
ansuz
64f5ad00ca Merge branch 'soon' into support-categories 2022-03-04 18:08:49 +05:30
ansuz
755228e43c empty the 'note' field when setting a custom quota on the admin panel 2022-03-04 17:34:06 +05:30
ansuz
31a55a4389 WIP adjustments for new translation keys 2022-03-01 21:08:31 +05:30
ansuz
84b0e2bd45 slight optimization in reordering ticket on the admin panel 2022-02-25 13:19:44 +05:30
ansuz
1202b7a691 WIP configure instance name, jurisdiction, and description on admin panel 2022-02-24 15:28:24 +05:30
ansuz
f1fc2d2ad9 WIP provide a reason when archiving or resoring a file through the admin panel 2022-02-18 18:45:52 +05:30
ansuz
96f4162a58 initial admin panel components for 'disableEmbedding' functionality 2022-02-18 13:40:01 +05:30
ansuz
030585d26e clean up some code smell 2022-02-10 12:10:30 +05:30
ansuz
eafe27ffb4 reuse cp-charts to visualize server task running time as bar charts 2021-08-19 18:21:48 +05:30
ansuz
b3a7d5c42c factor out some duplicated code for handling 24 dates 2021-07-28 15:19:05 +05:30
yflory
d530a51f99 Fix premium ticket category in admin panel 2021-07-20 10:51:12 +02:00
ansuz
cb0c4363e0 Merge branch 'soon' into main 2021-07-07 14:25:09 +05:30
ansuz
e57ccf14d7 clean up some pending notes 2021-06-30 18:20:57 +05:30
ansuz
4fc60b86c5 remove hardcoded admin panel translations 2021-06-29 16:29:49 +05:30
ansuz
3cbf4c9d6f save instancePurpose choice to server from admin panel 2021-06-25 13:04:29 +05:30
ansuz
9104441eb2 prototype instance purpose radio selection 2021-06-25 11:58:05 +05:30
ansuz
d610f6ef1e use less restrictive URL validation 2021-06-21 16:52:50 +05:30
ansuz
b1d2a2f112 remove hardcoded translations from admin page
and add annotations for generated translation keys
2021-06-11 16:51:34 +05:30
ansuz
bb7c40237b detect new versions in server telemetry responses 2021-06-10 20:56:12 +05:30
ansuz
93edc4e63a Merge branch 'staging' into admin-network-pane 2021-06-10 20:50:02 +05:30
ansuz
2fd812ff36 WIP admin translations and update available button 2021-06-09 18:45:02 +05:30
ansuz
82dc55e36a handle invalid hashes on the admin page 2021-06-09 14:17:19 +05:30
ansuz
41db88a360 WIP admin 'network' panel 2021-06-08 20:24:30 +05:30
ansuz
af7027e5ed remove XXX that is actually O.K. 2021-05-27 12:37:14 +05:30
ansuz
2262929c09 remove hardcoded translations for new admin components 2021-05-21 18:38:33 +05:30
yflory
755300d742 Add email and support config in the admin UI 2021-05-18 12:31:31 +02:00
yflory
d819ff093d Fix date rendering with 12h format in flatpickr inputs 2021-05-18 10:59:48 +02:00
ansuz
5d4332b1fe handle admin decree errors on the admin panel
addresses #642
2021-05-11 16:17:07 +05:30
ansuz
f652143de2 handle errors reported by the file descriptor count admin command
closes #533
2021-05-06 13:34:08 +05:30
ansuz
93589d03e4 Merge branch 'staging' into restricted-registration 2021-05-05 10:05:11 +05:30
yflory
8735fafe0d Restrict registration UI 2021-05-04 14:39:37 +02:00
ansuz
a813b6f226 remove or adjust some comments 2021-04-28 16:28:33 +05:30
ansuz
50045c08d0 WIP restrict registration 2021-04-26 18:31:33 +05:30
ansuz
93ea996f86 Merge branch 'calendar' into staging 2021-04-12 18:14:48 +05:30
yflory
3d6bf334db lint compliance 2021-04-12 11:20:48 +02:00
ansuz
75a316e70d adjust or remove comments 2021-04-12 13:39:54 +05:30
ansuz
49528ca8ee remove XXX 2021-04-12 12:43:37 +05:30
ansuz
bc521bc1f9 add translation annotations 2021-04-12 12:43:14 +05:30
ansuz
3b8f731f1e remove notes and hardcoded translations 2021-04-12 12:02:33 +05:30
yflory
542b5f17c2 Fix calendar popup UI 2021-04-09 12:02:03 +02:00
yflory
732e92e17f Fix XXX 2021-04-08 15:46:24 +02:00
yflory
2aadb460b9 Remove some XXX 2021-04-08 13:20:56 +02:00
yflory
c43c1a447d Fix possible memory leak in inner and worker 2021-04-08 13:18:27 +02:00
ansuz
4e3a7fef24 add notes from our review 2021-04-02 17:14:15 +05:30
ansuz
416ba823bd lint compliance 2021-04-01 16:44:57 +05:30
yflory
a47773b9c8 Fix broadcast UI 2021-03-30 18:04:57 +02:00
yflory
8a33a9faee Fix type error 2021-03-30 18:01:02 +02:00
yflory
875cee7b32 broadcast fixes 2021-03-30 17:59:54 +02:00
yflory
8f679c141c Broadcast update 2021-03-30 17:41:12 +02:00
yflory
96892bff48 Merge branch 'staging' into broadcast 2021-03-30 13:53:49 +02:00
ansuz
0f931f4ca0 stop using an API that doesn't exist anymore 2021-03-30 16:06:56 +05:30
David Benqué
a1e2059068 Finish flatpickr theme 2021-03-17 14:50:41 +00:00
yflory
d390f9c995 Write better code 2021-03-16 17:40:29 +01:00
yflory
7971a6d267 Major broadcast refactoring 2021-03-16 17:00:23 +01:00
David Benqué
685b118fe8 Adjust style of empty broadcasts 2021-03-16 10:52:26 +00:00
David Benqué
cdf801b857 Layout of broadcast send buttons 2021-03-15 14:43:30 +00:00
David Benqué
526a369940 Merge remote-tracking branch 'origin/broadcast' into broadcast 2021-03-15 14:10:22 +00:00
David Benqué
11d056fd05 Improve display of broadcast messages 2021-03-15 14:10:06 +00:00
yflory
807642151a Fix broadcast deletion race condition 2021-03-15 14:54:25 +01:00
yflory
098011d1b2 Always show the delete section in the broadcast panel 2021-03-12 17:48:33 +01:00
yflory
39ce9dd02b Minor fixes and improvements to broadcast panel 2021-03-12 17:29:17 +01:00
yflory
34964ba598 Fix maintenance end time 2021-03-12 16:12:36 +01:00
yflory
3ace3eaa91 lint compliance 2021-03-12 12:55:45 +01:00
yflory
43c0794343 Improve Custom broadcast UI with default language 2021-03-12 12:54:20 +01:00
yflory
d15c0461cc Add /api/broadcast and improve message deletion 2021-03-12 12:46:11 +01:00
yflory
171d00a943 Broadcast deletion (manual and automatic) 2021-03-11 12:27:12 +01:00
yflory
c38ba1936e Preview instance broadcast before sending 2021-03-10 13:02:36 +01:00
yflory
fee8a88169 Instance notification prototype 2021-03-09 18:27:12 +01:00
yflory
11959bef1b Allow admins to reopen support tickets 2021-03-03 18:24:54 +01:00
ansuz
3b9bf65709 deduplicate 'getPrettySize' and similar variants 2021-03-01 11:17:54 +05:30
ansuz
6dcc471c81 annotate generated translation keys to suppress warnings 2021-03-01 10:15:47 +05:30
ansuz
f7bada95ed flag some duplicated code 2021-02-26 16:08:21 +05:30
ansuz
112afc0de2 add a 'refresh' button to the performance tab of the admin panel 2021-02-26 13:32:48 +05:30
ansuz
7bc12ff427 use brand link color for attachments in the admin support page 2021-02-26 12:03:01 +05:30
David Benqué
144ad3ac87 Fix admin support colors 2021-02-15 10:52:38 +00:00
David Benqué
45faee3eed Fix premium ticket styles 2021-02-09 15:48:04 +00:00
ansuz
4f6e2764b5 move getquota above getlimits 2021-02-09 14:47:39 +05:30
ansuz
32b8f1f8b8 remove some hardcoded translations 2021-02-09 10:16:23 +05:30
yflory
2ea0e37148 Add admin form to check a user quota usage from their public key 2021-02-08 12:43:04 +01:00
yflory
76ff4bfaec Refresh admin panel stats 2021-02-08 12:22:04 +01:00
ansuz
b5b0318ebf reuse configured colors for admin panel profiling table 2021-02-08 16:13:30 +05:30
ansuz
2f8573996a Merge branch 'staging' into dark 2021-01-31 17:13:42 +05:30
ansuz
d4fa64a1bf lint compliance 2021-01-31 17:13:24 +05:30
ansuz
6c1e4352e5 Merge branch 'staging' into dark 2021-01-31 17:11:02 +05:30
ansuz
94b907e126 add an icon to the 'Performance' section of the admin sidebar 2021-01-31 17:09:49 +05:30
ansuz
bb7965d94a Merge branch 'profiling' into dark 2021-01-31 14:48:36 +05:30
ansuz
9a2ccccfd6 relabel XXX comments 2021-01-31 14:47:55 +05:30
ansuz
edd46ebdb2 add some admin UI for profiling the server's workers 2021-01-29 11:51:40 +05:30
yflory
e4dbd04103 Fix iframe URL caching 2021-01-27 13:55:25 +01:00
yflory
9756e87f1b Admin, accounts code and debug dark mode 2021-01-27 13:44:32 +01:00
yflory
27994d1a6f Fix premium ticket filter 2021-01-26 17:34:50 +01:00
yflory
89406f5d89 Start with black background when OS is set to dark theme 2021-01-26 17:09:10 +01:00
ansuz
6871846306 Merge branch 'soon' into staging 2021-01-11 18:08:05 +05:30
yflory
56b227260d Fix history size in the apps 2021-01-11 11:48:56 +01:00
ansuz
7b1e3f6e84 Merge branch 'soon' into staging 2021-01-05 19:38:46 +05:30
ansuz
662629185d remove hardcoded translations for admin panel 2021-01-05 19:36:52 +05:30
ansuz
c806b97076 resolve conflicts between rebrand and staging 2020-12-29 17:20:53 +05:30
yflory
9f02df0b31 Correctly move tickets after closing them 2020-12-21 16:02:53 +01:00
yflory
dc44d8f33c lint compliance 2020-12-16 12:18:18 +01:00
yflory
08498e1c8f Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging 2020-12-16 12:17:26 +01:00
yflory
7fc60d9002 Show premium tickets when they're collapsed 2020-12-16 12:17:20 +01:00
David Benqué
54d46015de Toggle support section button 2020-12-16 10:46:05 +00:00
yflory
e936045b7d More support panel improvements 2020-12-16 11:29:12 +01:00
David Benqué
17d9284a4c Show full ticket title when opened 2020-12-15 16:10:54 +00:00
yflory
792c8e4a15 Merge branch 'main' into staging 2020-12-15 14:20:14 +01:00
yflory
b1bf592265 Make it easier to open a ticket 2020-12-15 14:15:25 +01:00
yflory
687bb36e0e Handle long title in support tickets 2020-12-15 14:07:07 +01:00
yflory
b2ca3fa448 More admin support panel UI 2020-12-15 14:01:54 +01:00
yflory
69e18a48da Admin support UI 2020-12-15 13:09:02 +01:00
yflory
b3f91dd9a2 Fix button margin in admin panel 2020-12-14 12:02:48 +01:00
ansuz
d5970868f7 use the correct order of magnitude when editing an existing user quota 2020-12-11 20:38:39 +05:30
David Benqué
40093cf9a8 Remove XXX related to translation keys 2020-12-04 13:41:45 +00:00
David Benqué
2f062de290 Add archived alert message 2020-11-25 17:02:39 +00:00
yflory
bd4b44476d Archive and restore UI in the admin panel 2020-11-18 16:49:40 +01:00
yflory
49423474a8 Make application colors easier to maintain 2020-11-13 17:05:26 +01:00
yflory
9203b88538 Fix UI language 2020-11-04 11:22:31 +01:00
yflory
101b6800ea Improve custom limits UI in the admin panel 2020-10-13 13:02:50 +02:00
ansuz
ad9ed6f288 hide the 'restrict registration' admin interface until it's complete 2020-10-12 14:57:54 +05:30
ansuz
dcc463dd67 remove hardcoded translations which were applied via weblate 2020-10-12 14:50:13 +05:30
yflory
c392d52fe2 Update default storage limit from the admin panel 2020-10-08 19:07:00 +05:30
ansuz
8c552163cd decorate the 'quota' entry in the admin sidebar 2020-10-08 19:07:00 +05:30
ansuz
914139dbfa lint compliance 2020-10-08 19:07:00 +05:30
yflory
a5693af2e9 Add custom limits UI in the admin panel 2020-10-08 19:07:00 +05:30
yflory
e7a6397084 Add category filter and improve UI 2020-06-11 14:49:59 +02:00
ansuz
f63482a8da disable support tickets' 'remove' button while removal is in progress 2020-05-28 11:43:06 -04:00
ansuz
cf426c24e5 WIP 2020-05-28 11:43:06 -04:00
yflory
079329cc28 Rename toolbar file 2020-05-07 12:01:05 +02:00
David Benqué
dc383615e0 different color for premium users 2020-04-30 15:46:21 +01:00
ansuz
36e790dee6 style support tickets from premium users via a class 2020-04-29 14:40:42 -04:00
yflory
adae4b690b outer.css cache busting 2020-04-17 17:38:15 +02:00
David Benqué
b20beee2dc remove // XXX related to translation keys 2020-03-25 16:40:41 +00:00
ansuz
bf2e5aeca1 add an admin panel block to display the open file count 2020-03-20 17:04:18 -04:00
yflory
bba769ef77 Use throttle to link to support tickets 2020-02-11 18:05:59 +01:00
yflory
5d1e1c975c Link to a support ticket 2020-02-11 17:43:24 +01:00
David Benqué
fbd8700a18 fix highlighting of support messages 2020-02-10 10:58:17 +00:00
David Benqué
9a53b3b9fd style messages
- blue text for messages from admins
- red text and background for messages needing a response.
2020-01-24 16:52:44 +00:00
ansuz
1ecb61fe85 put an ugly red border on support thread messages from admins 2020-01-24 10:30:23 -05:00
yflory
81cbb3f6fe Sort support messages differently 2019-10-15 18:03:31 +02:00
yflory
f111be72e6 Clean the support UI code 2019-07-16 11:58:54 +02:00
yflory
7a4895757f Remove XXX 2019-07-02 14:45:50 +02:00
yflory
f70396a0f8 Translation keys 2019-06-28 17:05:26 +02:00
yflory
93b4dac8bb Support mailbox in the support and admin apps 2019-06-27 17:08:23 +02:00
yflory
db84b41225 Merge branch 'shareModal' into staging 2019-06-07 11:16:41 +02:00
yflory
eb12178fe7 Notifications in the admin panel 2019-06-03 11:58:49 +02:00
yflory
8e7858e6ae New share modal in all the apps 2019-06-03 11:57:55 +02:00
yflory
1b1ef20870 Add admin folder 2019-03-27 17:52:08 +01:00