2020-09-06 11:32:08 +02:00
|
|
|
;; tinmop: an humble gemini and pleroma client
|
2020-05-08 15:45:43 +02:00
|
|
|
;; Copyright (C) 2020 cage
|
|
|
|
|
|
|
|
;; This program is free software: you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
|
|
|
|
;; This program is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
|
|
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(in-package :constants)
|
|
|
|
|
2020-05-15 16:44:06 +02:00
|
|
|
(define-constant +help-about-message+
|
|
|
|
(format nil
|
|
|
|
"~a
|
2020-06-23 16:27:43 +02:00
|
|
|
Copyright (C) 2019 cage
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-06-23 16:27:43 +02:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-06-23 16:27:43 +02:00
|
|
|
This program is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
General Public License for more details.
|
2020-05-08 15:45:43 +02:00
|
|
|
|
2020-06-23 16:27:43 +02:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program.
|
2020-05-15 16:44:06 +02:00
|
|
|
|
2020-06-23 16:27:43 +02:00
|
|
|
For bug report please point your browser to:
|
2020-05-15 16:44:06 +02:00
|
|
|
|
2020-06-23 16:27:43 +02:00
|
|
|
~a"
|
2020-05-15 16:44:06 +02:00
|
|
|
+program-name+
|
|
|
|
+issue-tracker+)
|
2020-05-08 15:45:43 +02:00
|
|
|
:test #'string=)
|
|
|
|
|
|
|
|
(define-constant +http-code-ok+ 200 :test #'=)
|
|
|
|
|
|
|
|
(define-constant +mime-type-jpg+ "image/jpeg" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +mime-type-png+ "image/png" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +mime-type-html+ "text/html" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +db-file+ "db.sqlite3" :test #'string=
|
|
|
|
:documentation "the filename of the database")
|
|
|
|
|
|
|
|
(define-constant +json-true+ "true" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +json-false+ "false" :test #'string=)
|
|
|
|
|
2020-10-02 15:52:19 +02:00
|
|
|
(define-constant +fps+ 60 :test #'=
|
2020-05-08 15:45:43 +02:00
|
|
|
:documentation "The redraw frequency in frame per second")
|
|
|
|
|
|
|
|
(define-constant +command-window-height+ 1 :test #'=)
|
|
|
|
|
|
|
|
(define-constant +starting-init-file+ "init.lisp" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +box-height-diff+ 3 :test #'=
|
|
|
|
:documentation "When fitting columns of text in a box
|
|
|
|
remove this rows from total height")
|
|
|
|
|
|
|
|
(define-constant +default-command-prompt+ "> " :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +menu-button-ok+ "OK" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +status-public-visibility+ "public" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +status-direct-visibility+ "direct" :test #'string=)
|
|
|
|
|
|
|
|
(define-constant +folder-tag-prefix+ "#" :test #'string=
|
|
|
|
:documentation "The prefix for messages hashtag")
|
|
|
|
|
|
|
|
(define-constant +folder-direct-message-prefix+ "@" :test #'string=
|
|
|
|
:documentation "The prefix for direct message folder, unused")
|
|
|
|
|
|
|
|
(define-constant +mention-prefix+ "@" :test #'string=
|
|
|
|
:documentation "The prefix for a mention in a message")
|
2020-10-11 18:22:07 +02:00
|
|
|
|
|
|
|
(define-constant +cache-tls-certificate-type+ "certificate" :test #'string=
|
|
|
|
:documentation "The cache type for TLS certificate")
|