cryptpad/customize.dist
Mathilde Grünig f5fb24031e replace xwiki-labs by cryptpad 2023-05-16 14:54:39 +02:00
..
favicon Update favicon source file 2021-10-15 14:02:46 +01:00
fonts Update cptools font with Drive icon 2022-05-13 12:17:20 +01:00
images Add calendar OG preview image 2022-07-26 10:42:31 +01:00
pages replace xwiki-labs by cryptpad 2023-05-16 14:54:39 +02:00
src Prototype install app 2022-12-20 16:57:51 +01:00
translations enable Portuguese from Portugal 2022-09-01 13:52:41 +05:30
404.html standardize html for static pages 2022-09-05 19:16:42 +05:30
500.html standardize html for static pages 2022-09-05 19:16:42 +05:30
CryptPad_logo.svg Index page logo and app grid 2020-10-22 16:17:15 +01:00
CryptPad_logo_grey.svg Update grey logo and use in empty Code and Slides 2021-02-09 21:08:19 +00:00
CryptPad_logo_hero.svg Add image for home page logo 2022-07-08 14:52:43 +01:00
application_config.js remove hardcoded supportLanguage config value 2020-06-09 13:42:41 -04:00
ckeditor-config.js Comments prototype 2020-04-20 15:22:45 +02:00
ckeditor-contents.css Fix overflow issues on small screen 2022-12-22 13:56:50 +01:00
contact.html standardize html for static pages 2022-09-05 19:16:42 +05:30
delta-words.js make things actually work 2018-02-01 11:43:29 +01:00
down.html standardize html for static pages 2022-09-05 19:16:42 +05:30
features.html standardize html for static pages 2022-09-05 19:16:42 +05:30
four-oh-four.js add hints for translation linting and remove notes 2022-03-25 16:53:10 +05:30
index.html standardize html for static pages 2022-09-05 19:16:42 +05:30
loading.js annotate unusual translation keys so our script recognizes them 2021-02-26 16:08:04 +05:30
login.js Prototype install app 2022-12-20 16:57:51 +01:00
main-favicon.png Use new logo for favicon 2020-11-06 16:20:25 +00:00
main.js add a setting to preserve redirect-to-drive behaviour from the home page 2021-05-31 20:10:47 +05:30
messages.js enable Portuguese from Portugal 2022-09-01 13:52:41 +05:30
pages.js replace xwiki-labs by cryptpad 2023-05-16 14:54:39 +02:00
pre-loading.js Merge branch 'placeholder-slow-connection' into 5.1-candidate 2022-08-30 14:14:53 +05:30
readme.md rewrite customize/readme.md 2016-12-28 15:33:59 +01:00
template.js Prototype install app 2022-12-20 16:57:51 +01:00

readme.md

Customizing CryptPad

In order allow a variety of features to be changed and to allow site-specific changes to CryptPad apps while still keeping the git repository pristine, this directory exists to allow a set of hooks to be run.

The server is configured to load files from the /customize/ path preferentially from cryptpad/customize/, and to fall back to cryptpad/customize.dist/ if they are not found

If you wish to customize cryptpad, please copy /customize.dist/ to /customize and then edit it there, this way you will still be able to pull from (and make pull requests to (!) the git repository.

Files you may be interested in

  • index.html is the main page
  • main.js contains javascript for the home page
  • application_config.js allows you to modify settings used by the various applications
  • messages.js contains functions for applying translations to various pages
    • look inside /translations/ for the rest of the files which contain translated strings
  • /share/ implements an iframe RPC which allows multiple domains to access the same localStorage
  • /src/ contains source files for html and css (in the form of html templates and .less stylesheets)

All other content which is placed in this directory will be referencable at the /customize/ URL location.