cryptpad/customize.dist
David Benqué f0263d82c2 Merge remote-tracking branch 'origin/4.15-candidate' into 4.15-candidate 2022-05-04 13:21:56 +01:00
..
favicon Update favicon source file 2021-10-15 14:02:46 +01:00
fonts Add conditional section icon 2021-09-02 15:12:48 +01:00
images Remove Terms, What is, and Maintenance pages 2022-04-25 16:04:26 +01:00
pages Merge remote-tracking branch 'origin/4.15-candidate' into 4.15-candidate 2022-05-04 13:21:56 +01:00
src Merge remote-tracking branch 'origin/4.15-candidate' into 4.15-candidate 2022-05-04 13:21:56 +01:00
translations add missing Ukrainian translation override file 2022-04-13 16:36:18 +05:30
404.html
500.html handle 500 errors 2022-03-22 16:41:42 +05:30
CryptPad_logo.svg
CryptPad_logo_grey.svg Update grey logo and use in empty Code and Slides 2021-02-09 21:08:19 +00:00
application_config.js
ckeditor-config.js
ckeditor-contents.css Possible fix for the rich text cursor issue with firefox #406 2021-03-16 17:58:22 +01:00
contact.html
delta-words.js
down.html
features.html
four-oh-four.js add hints for translation linting and remove notes 2022-03-25 16:53:10 +05:30
index.html
loading.js annotate unusual translation keys so our script recognizes them 2021-02-26 16:08:04 +05:30
login.js don't load the janky test framework that we aren't even using 2021-11-22 16:35:35 +05:30
main-favicon.png
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 tautology in Ukrainian language title 2022-04-19 14:33:48 +05:30
pages.js Merge branch 'custom-home-page' into 4.15-candidate 2022-05-03 18:32:33 +05:30
readme.md
template.js don't load info pages in iframes 2022-04-04 16:38:18 +05:30
terms.html
what-is-cryptpad.html

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.