2020-05-08 15:45:43 +02:00
|
|
|
;; tinmop: an humble mastodon client
|
|
|
|
;; 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-05-08 15:45:43 +02:00
|
|
|
Copyright (C) 2019 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
|
2020-05-15 16:44:06 +02:00
|
|
|
along with this program.
|
|
|
|
|
|
|
|
For bug report please point your browser to:
|
|
|
|
|
|
|
|
~a"
|
|
|
|
+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=)
|
|
|
|
|
|
|
|
(define-constant +fps+ 20 :test #'=
|
|
|
|
: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")
|