Commit Graph

62 Commits

Author SHA1 Message Date
Andrew Dolgov 09e9f34bb4 add UserHelper::find_user_by_login() and rewrite some user checks to invoke it instead of going through PDO 2021-02-11 10:22:27 +03:00
Andrew Dolgov 7af8744c85 authentication: make logins case-insensitive (force lowercase) 2021-02-11 09:57:57 +03:00
Andrew Dolgov 81c52b4b1e add support for an override stylesheet which applies to all users 2020-11-30 15:53:32 +03:00
Andrew Dolgov 74568df4ff remove a lot of stuff from global context (functions.php), add a few helper classes instead 2020-09-22 09:04:33 +03:00
Andrew Dolgov 4ab3854aed don't generate default.css, replace with themes/light.css as a default root CSS file 2020-02-22 16:22:44 +03:00
Andrew Dolgov 54c1b5c611 fill in some missing doctypes; use short doctype where it wasn't 2019-02-23 13:49:40 +03:00
Andrew Dolgov c11f32ac38 center and rework some utility screens 2019-02-19 14:59:29 +03:00
Andrew Dolgov 71fc6d45bd refactor error reporting to AppBase; keep exception_error() for now as a shim 2018-12-03 13:38:13 +03:00
Andrew Dolgov 84affc7b1d rework dojo singleton modules to better work with phpstorm completion (ugh) - declare() is not needed there anyway
remove event.observe from login form (not needed)
load pluginhost via amd
2018-12-03 09:33:44 +03:00
Andrew Dolgov f89924f7a1 set use strict on JS modules; remove some mostly useless stuff like get_minified_js() 2018-12-02 18:38:27 +03:00
Andrew Dolgov 55bf4bc1d3 mailer: split to/from name/addresses 2018-11-22 16:36:10 +03:00
Andrew Dolgov 57932e1837 remove PHPMailer and related directives from config.php-dist; add pluggable Mailer class 2018-11-22 14:45:14 +03:00
Andrew Dolgov 09bc54c690 further stylesheet simplification related fixes 2017-12-03 13:25:34 +03:00
Andrew Dolgov 9dd336a2c3 generate base css files using lessc 2017-11-29 18:55:12 +03:00
Andrew Dolgov 5a801bd6f0 load stylesheets/scripts using helper functions in a few more places 2014-01-28 15:32:19 +04:00
Andrew Dolgov 67e0cf9a37 add startup_gettext() calls to several endpoints for unregistered users so the output would be translated based on accept-language header 2013-05-29 15:41:19 +04:00
Andrew Dolgov 5bbc4bb4b0 move stylesheets to css/, reference default tt-rss stylesheets from
default.css to make custom themes easier
2013-05-19 21:22:01 +04:00
Andrew Dolgov eefaa2df38 remove db_connect, db_close; CLI fixes 2013-04-17 17:00:35 +04:00
Andrew Dolgov 6322ac79a0 remove $link 2013-04-17 16:48:41 +04:00
Andrew Dolgov 404e2e3603 more work on singleton-based DB 2013-04-17 15:36:48 +04:00
Andrew Dolgov ba68b6815a db updates, remove init_connection() 2013-04-17 14:23:35 +04:00
Andrew Dolgov 884d16505e tweak how utility.css-based stuff looks 2013-03-27 10:59:26 +04:00
Andrew Dolgov 99534a3dde remove page title stuff for the time being 2013-03-23 09:51:30 +04:00
Andrew Dolgov 9972b7cdd7 Revert "update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title"
This reverts commit 8d051fa076.
2013-03-23 09:48:15 +04:00
Andrew Dolgov 6ef8ec84cb Merge pull request #73 from derekmurawsky/dmChanges
Centralized mail handling per post on google + community.
2013-03-22 22:09:34 -07:00
derekmurawsky 1b2afd2bd3 Additions:
classes/trssmailer.php - Created class TTRSS mailer which extends phpmailer and sets the default mail settings upon instantiation. Class includes quickmail function that allows for a quick email send with no extra configurion necessary.

Changes:
config.php-dist - Added the smtp port option

include/digest.php - Converted it to use the new ttrrssmailer class

include/sanity_config.php - Added the smtp port option to the sanity check

plugins/mail/init.php - Modified to use ttrssmailer class. This particular configuration shows a hybrid use case.

register.php = Modified to use ttrssmailer class.

All code was tested and functioned on my local machine.
2013-03-22 16:25:12 -04:00
Andrew Dolgov 707ad6ddf7 Merge branch 'master' of git://github.com/richbeales/Tiny-Tiny-RSS into richbeales-master 2013-03-22 09:36:47 +04:00
Andrew Dolgov 3972bf5981 db_escape_string: specify link parameter for consistency; sessions: do not force-close db connection in _close() 2013-03-22 09:14:55 +04:00
Richard Beales 8d051fa076 update SITE_TITLE customization to work without needing to be pre-defined, make it compatible with unread count now being at start of title 2013-03-21 20:24:26 +00:00
Richard Beales 77accf45df fix merge conflict with stylesheet tags 2013-03-20 16:59:19 +00:00
Andrew Dolgov 5ce9d43ed2 registration form: use input type email; add some required fields 2013-03-20 19:05:39 +04:00
Richard Beales ffbab555b8 Feature #446 - Allow customizing page title 2013-03-16 14:27:55 +00:00
Andrew Dolgov 88e8fb3a71 modify include path order (closes #514) 2012-12-09 13:41:22 +04:00
Andrew Dolgov f9c0fc6eb7 register: include functions.php before checking for action parameter to set proper error_reporting (fixes #448) 2012-04-12 14:03:34 +04:00
Andrew Dolgov 8db5d8ea6d add get_random_bytes() in case openssl_random_pseudo_bytes() is unavailable 2012-01-23 22:04:01 +04:00
Andrew Dolgov 098df83ba6 fix various password-change related functions 2012-01-23 12:20:09 +04:00
Andrew Dolgov f03a795de7 include path fix for lighttpd 2011-12-15 18:19:38 +04:00
Andrew Dolgov 09e8bdfd18 simplify default global config, expand sanity_check messages 2011-12-13 19:20:26 +04:00
Andrew Dolgov 5f0a3741d0 add Public_Handler
misc code cleanup
2011-12-13 14:49:11 +04:00
Andrew Dolgov 107d0cf39e overall directory tree cleanup 2011-12-11 23:59:25 +04:00
Andrew Dolgov 31303c6bbd reduce the number of always included libraries 2011-12-11 23:10:51 +04:00
Andrew Dolgov a299881140 misc layout fixes 2011-12-10 22:21:54 +04:00
Andrew Dolgov e331188f76 misc typo fixes 2011-12-10 21:26:59 +04:00
Andrew Dolgov 410c0b3a01 fix register.php feed output 2011-11-09 18:28:54 +04:00
Andrew Dolgov 870a70e109 implement basic feed output for register.php 2011-11-07 17:06:18 +04:00
Andrew Dolgov 0ae2bb2a69 db-updater: properly handle situation of newer active schema; utility scripts: fix incorrect logo 2011-04-20 11:52:17 +04:00
Andrew Dolgov 2376ad4925 fix redirects after schema upgrade; fix logout requiring valid schema 2011-04-20 11:46:16 +04:00
Andrew Dolgov 1ca77e0acd merge logout.php inside backend.php 2011-04-20 00:14:37 +04:00
Andrew Dolgov 133ab8c713 replace references to ttrss-logo.png with logo.png 2011-04-14 17:48:26 +04:00
Andrew Dolgov fb0742394a remove error_reporting() hacks; set default error reporting level in functions.php 2010-11-10 13:14:44 +03:00