cryptpad/customize.dist
2023-07-13 14:13:04 +02:00
..
favicon Update favicon SVG #1066 2023-06-28 20:02:43 +01:00
fonts Merge branch 'drawio-bower' into 5.4-rc 2023-06-30 12:45:54 +02:00
images Add Diagram opengraph preview image #1066 2023-06-28 17:24:30 +01:00
pages Merge branch 'totp-ui' into 5.4-rc 2023-07-13 10:44:18 +01:00
src Merge branch 'totp-ui' into 5.4-rc 2023-07-13 10:44:18 +01:00
translations enable Portuguese from Portugal 2022-09-01 13:52:41 +05:30
404.html removing bower: migrate requirejs and requirejs-plugins 2023-01-07 13:50:40 +01:00
500.html removing bower: migrate requirejs and requirejs-plugins 2023-01-07 13:50:40 +01:00
application_config.js remove hardcoded supportLanguage config value 2020-06-09 13:42:41 -04:00
ckeditor-config.js removing bower: migrate ckeditor 2023-01-07 13:50:40 +01:00
ckeditor-contents.css Fix overflow issues on small screen 2022-12-22 13:56:50 +01:00
contact.html removing bower: migrate requirejs and requirejs-plugins 2023-01-07 13:50:40 +01:00
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
delta-words.js removing bower: migrate chainpad* 2023-01-07 13:50:41 +01:00
down.html standardize html for static pages 2022-09-05 19:16:42 +05:30
features.html removing bower: migrate requirejs and requirejs-plugins 2023-01-07 13:50:40 +01:00
four-oh-four.js add hints for translation linting and remove notes 2022-03-25 16:53:10 +05:30
index.html removing bower: migrate requirejs and requirejs-plugins 2023-01-07 13:50:40 +01:00
loading.js annotate unusual translation keys so our script recognizes them 2021-02-26 16:08:04 +05:30
login.js Fix XXX 2023-07-13 14:12:47 +02: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 Fix typo 2023-06-26 15:48:23 +02:00
pages.js Update CryptPad version 2023-06-30 11:37:33 +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 Merge branch 'totp-ui' into 5.4-rc 2023-07-11 10:30:36 +02:00

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.