mirror of
https://github.com/FAUSheppy/config
synced 2025-12-06 15:11:35 +01:00
Merge branch 'master' of gitlab.cs.fau.de:ik15ydit/config
This commit is contained in:
@@ -16,8 +16,8 @@
|
|||||||
# IPv6 syntax: [address]:port
|
# IPv6 syntax: [address]:port
|
||||||
# For example: 0.0.0.0:9999, [::]:9999
|
# For example: 0.0.0.0:9999, [::]:9999
|
||||||
# IPv6 adresses are configured to only allow IPv6 connections
|
# IPv6 adresses are configured to only allow IPv6 connections
|
||||||
hosts = 192.168.178.42:5232
|
#hosts = 0.0.0.0:5232
|
||||||
#osts = 10.21.26.59:5232
|
hosts = squarez.fauiwg.de:7000
|
||||||
|
|
||||||
# Daemon flag
|
# Daemon flag
|
||||||
#daemon = False
|
#daemon = False
|
||||||
@@ -26,16 +26,16 @@ hosts = 192.168.178.42:5232
|
|||||||
#pid =
|
#pid =
|
||||||
|
|
||||||
# SSL flag, enable HTTPS protocol
|
# SSL flag, enable HTTPS protocol
|
||||||
ssl = True
|
ssl = False
|
||||||
|
|
||||||
# SSL certificate path
|
# SSL certificate path
|
||||||
certificate = /home/ik15ydit/radicale/ssl/server.crt
|
certificate = /home/sheppy/radicale/ssl/fauiwg_radicale.cert
|
||||||
|
|
||||||
# SSL private key
|
# SSL private key
|
||||||
key = /home/ik15ydit/radicale/ssl/server.key
|
key = /home/sheppy/radicale/ssl/fauiwg_radicale.key
|
||||||
|
|
||||||
# SSL Protocol used. See python's ssl module for available values
|
# SSL Protocol used. See python's ssl module for available values
|
||||||
#protocol = PROTOCOL_SSLv23
|
protocol = TLSv1.2
|
||||||
|
|
||||||
# Ciphers available. See python's ssl module for available ciphers
|
# Ciphers available. See python's ssl module for available ciphers
|
||||||
#ciphers =
|
#ciphers =
|
||||||
@@ -44,13 +44,13 @@ key = /home/ik15ydit/radicale/ssl/server.key
|
|||||||
#dns_lookup = True
|
#dns_lookup = True
|
||||||
|
|
||||||
# Root URL of Radicale (starting and ending with a slash)
|
# Root URL of Radicale (starting and ending with a slash)
|
||||||
base_prefix = /
|
# base_prefix = /
|
||||||
|
|
||||||
# Possibility to allow URLs cleaned by a HTTP server, without the base_prefix
|
# Possibility to allow URLs cleaned by a HTTP server, without the base_prefix
|
||||||
#can_skip_base_prefix = False
|
#can_skip_base_prefix = False
|
||||||
|
|
||||||
# Message displayed in the client when a password is needed
|
# Message displayed in the client when a password is needed
|
||||||
#realm = Radicale - Password Required
|
realm = fauiwg-caldav - Password Required
|
||||||
|
|
||||||
|
|
||||||
[encoding]
|
[encoding]
|
||||||
@@ -81,11 +81,11 @@ type = htpasswd
|
|||||||
#custom_handler =
|
#custom_handler =
|
||||||
|
|
||||||
# Htpasswd filename
|
# Htpasswd filename
|
||||||
htpasswd_filename = /home/ik15ydit/radicale/users
|
htpasswd_filename = ~/radicale/htpasswd_users
|
||||||
|
|
||||||
# Htpasswd encryption method
|
# Htpasswd encryption method
|
||||||
# Value: plain | sha1 | ssha | crypt | bcrypt | md5
|
# Value: plain | sha1 | ssha | crypt | bcrypt | md5
|
||||||
htpasswd_encryption = sha1
|
htpasswd_encryption = bcrypt
|
||||||
|
|
||||||
# LDAP server URL, with protocol and port
|
# LDAP server URL, with protocol and port
|
||||||
#ldap_url = ldap://localhost:389/
|
#ldap_url = ldap://localhost:389/
|
||||||
@@ -147,7 +147,7 @@ type = owner_only
|
|||||||
#custom_handler =
|
#custom_handler =
|
||||||
|
|
||||||
# File for rights management from_file
|
# File for rights management from_file
|
||||||
file = ~/.config/radicale/rights
|
file = ~/radicale/user_rights
|
||||||
|
|
||||||
|
|
||||||
[storage]
|
[storage]
|
||||||
@@ -164,7 +164,7 @@ type = filesystem
|
|||||||
#custom_handler =
|
#custom_handler =
|
||||||
|
|
||||||
# Folder for storing local collections, created if not present
|
# Folder for storing local collections, created if not present
|
||||||
filesystem_folder = /home/ik15ydit/radicale/collections
|
filesystem_folder = ~/radicale/collections/
|
||||||
|
|
||||||
# Database URL for SQLAlchemy
|
# Database URL for SQLAlchemy
|
||||||
# dialect+driver://user:password@host/dbname[?key=value..]
|
# dialect+driver://user:password@host/dbname[?key=value..]
|
||||||
@@ -179,9 +179,9 @@ filesystem_folder = /home/ik15ydit/radicale/collections
|
|||||||
# If no config is given, simple information is printed on the standard output
|
# If no config is given, simple information is printed on the standard output
|
||||||
# For more information about the syntax of the configuration file, see:
|
# For more information about the syntax of the configuration file, see:
|
||||||
# http://docs.python.org/library/logging.config.html
|
# http://docs.python.org/library/logging.config.html
|
||||||
#config = /etc/radicale/logging
|
config = ~/radicale/logging
|
||||||
# Set the default logging level to debug
|
# Set the default logging level to debug
|
||||||
#debug = False
|
debug = True
|
||||||
# Store all environment variables (including those set in the shell)
|
# Store all environment variables (including those set in the shell)
|
||||||
#full_environment = False
|
#full_environment = False
|
||||||
|
|
||||||
@@ -189,4 +189,4 @@ filesystem_folder = /home/ik15ydit/radicale/collections
|
|||||||
[headers]
|
[headers]
|
||||||
|
|
||||||
# Additional HTTP headers
|
# Additional HTTP headers
|
||||||
#Access-Control-Allow-Origin = *
|
# Access-Control-Allow-Origin = *
|
||||||
|
|||||||
17
zshrc
17
zshrc
@@ -1,3 +1,9 @@
|
|||||||
|
#### SET CONDITIONALS ####
|
||||||
|
NO_LDPRELOAD=false
|
||||||
|
if [[ $HOST == "squarez" ]]; then
|
||||||
|
NO_LDPRELOAD=true
|
||||||
|
fi
|
||||||
|
|
||||||
#### ZSH-INTERNAL ####
|
#### ZSH-INTERNAL ####
|
||||||
### HISTORY ###
|
### HISTORY ###
|
||||||
STSIZE=2000
|
STSIZE=2000
|
||||||
@@ -6,13 +12,18 @@ HISTFILE=~/.config/zshhistory.log
|
|||||||
|
|
||||||
### COLOR STDERR ###
|
### COLOR STDERR ###
|
||||||
#legacy, this causes problems in output odering exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
|
#legacy, this causes problems in output odering exec 2>>( while IFS='' read X; do print "\e[91m${X}\e[0m" > /dev/tty; done & )
|
||||||
LD_PRELOAD="$HOME/.config/libcoloredstderr.so"
|
if [[ NO_LDPRELOAD == false ]]; then
|
||||||
COLORED_STDERR_FDS=2,
|
LD_PRELOAD="$HOME/.config/libcoloredstderr.so"
|
||||||
export LD_PRELOAD COLORED_STDERR_FDS
|
COLORED_STDERR_FDS=2,
|
||||||
|
export LD_PRELOAD COLORED_STDERR_FDS
|
||||||
|
fi
|
||||||
|
|
||||||
### PROMT ###
|
### PROMT ###
|
||||||
MAIN_PROMT_COLOR="green"
|
MAIN_PROMT_COLOR="green"
|
||||||
USER_COLOR="yellow"
|
USER_COLOR="yellow"
|
||||||
|
if [[ $HOST == "squarez" ]]; then
|
||||||
|
USER_COLOR="cyan"
|
||||||
|
fi
|
||||||
if [[ $USER == "root" ]]; then
|
if [[ $USER == "root" ]]; then
|
||||||
USER_COLOR="red"
|
USER_COLOR="red"
|
||||||
MAIN_PROMT_COLOR="red"
|
MAIN_PROMT_COLOR="red"
|
||||||
|
|||||||
Reference in New Issue
Block a user