Commit Graph

82 Commits

Author SHA1 Message Date
Matt Baer 9958a1122b Show published date on post pages if Blog
Dates now display on blog post pages if the collection's chosen display
format is "Blog". It updates the chorus-collection-post template to now
respect this value (previously, it always showed the date).

Ref T669
2020-01-09 16:50:02 -05:00
Matt Baer 5b7f37aed8 Restyle Import page
- Changes Import link location in dropdown menu
- Makes design consistent with Invite People page (and extracts some
  common CSS into core.less)
- Selects the user's first blog by default in the dropdown
- Changes the copy a bit

Ref T609
2020-01-09 11:16:26 -05:00
Matt Baer 5249456ec6 Add .btn.cta link styles 2020-01-05 11:00:11 -05:00
Matt Baer 5644e8d251 Fix "silenced" alert styles on more pages
- Tagged posts
- Collection index

Ref T661
2019-11-12 00:41:45 +09:00
Rob Loranger 25fe5285da
lightly style tables in posts 2019-10-08 09:39:39 -07:00
Matt Baer afa3792e8e
Merge pull request #165 from writeas/lessc-check
check for lessc executable in any location
2019-09-20 18:24:24 -04:00
Matt Baer a01e280890 Tweak "LESS not installed" message 2019-09-20 18:22:54 -04:00
Rob Loranger cb78fd227e
use inline bash instead 2019-09-20 10:17:58 -07:00
Rob Loranger 43849d95d3
add back all generation steps
accidentally removed two lines from make all

fix check when trying to install lessc
2019-09-20 10:06:49 -07:00
Rob Loranger 9d0027ec53
don't need less to install less 2019-09-20 09:17:47 -07:00
Rob Loranger d129894ba7
fix check for missing less 2019-09-18 15:56:22 -07:00
Matt Baer 0066fecc20 Fix LESSC assignment in less/Makefile 2019-09-18 17:06:40 -04:00
Rob Loranger 3c104cb3aa
check for lessc executable in any location
previously the checks were explicit locations which does not work when
using something like nvm to manage node packages and versions.

this checks for the executable and sets the script variable LESSC to the
full path of the one found.
if none was found the make command will error.
2019-08-09 11:31:42 -07:00
Matt Baer 1d25784d20 Add `bare` editor option
This adds a new editor template that strips away most of the
customization features in the default editor and includes only:

- publishing
- editing
- viewing word count

It also restricts publishing to a user's first collection, so it's
optimized for instances that only allow users to have a single
collection and don't use Drafts.

Ref T680 T677
2019-08-05 09:54:05 -04:00
Matt Baer 90ad50c7f5 Use normal nav on user pages when SimpleNav
This shows About, Reader, Log out links on backend user pages when
logged in. It also adds "New post" buttons on the backend pages and
blogs.
2019-08-05 09:34:47 -04:00
Matt Baer b0d70d9bdb Support <audio> element
This whitelists the HTML5 <audio> element and adds some basic style to
make it look nice.
2019-07-25 22:54:11 -04:00
Matt Baer ebeb7b03e6 Explicitly set background-color
Closes #132
2019-06-28 08:26:15 -04:00
Matt Baer 6bf4e1a52e Add spacing around time element on index pages
This adds a small margin around a time element, which makes things look
better when the body of a post starts with a header.
2019-06-01 09:26:58 -04:00
Matt Baer 4b1ca3e296 Make post body h2's smaller on index pages
Previously, <h2>s in a post were the exact same size as post titles on
index pages (blog index, tag listing). This fixes that by reducing the
font-size of body h2's. Closes #82.
2019-06-01 09:17:28 -04:00
Gytis Repečka 6da10f28ac
Modified less/Makefile: added /bin/lessc path which is returned by which lessc in CentOS 7 when lessc is installed via npm. 2019-05-02 12:07:01 +03:00
Darius Kazemi 91a181f628 Adding another possible path for lessc to Makefile 2019-04-30 10:40:00 -07:00
Matt Baer c08484aa9c Fix excessive p spacing in blockquotes 2019-04-13 12:04:17 -04:00
Matt Baer 09fb73bdd5 Standardize admin navigation 2019-04-06 11:15:14 -04:00
Norman 7da8b3aef6
Fixes indentation 2019-01-16 23:07:44 +01:00
koehr 059f0d4c54 use font-display:optional to optimize web font loading 2019-01-16 16:07:20 +01:00
Matt Baer a76144c182 Fix rendered sublist spacing
Along with a recent change to how spaces are output by the
writeas/saturday library, this alters the CSS to make sublists display
correctly, and fixes #27.
2019-01-14 14:01:43 -05:00
Matt Baer bf7d422039 Add pager to admin user list
This enables paging through the entire list of users.

Ref T553
2019-01-05 09:37:53 -05:00
Matt Baer 0e722de82c Add admin user list
This enables admins on multi-user instances to see all users registered,
and view the details of each, including:

- Username
- Join date
- Total posts
- Last post date
- All blogs
  - Public info
  - Views
  - Total posts
  - Last post date
  - Fediverse followers count

This is the foundation for future user moderation features.

Ref T553
2019-01-04 22:28:29 -05:00
Matt Baer bdc4f270f8 Support editing About and Privacy pages from Admin panel
This allows admin to edit these pages from the web, using Markdown. It
also dynamically loads information on those pages now, and makes loading
`pages` templates a little easier to find in the code / more explicit.

It requires this new schema change:

CREATE TABLE IF NOT EXISTS `appcontent` (
  `id` varchar(36) NOT NULL,
  `content` mediumtext CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
  `updated` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

This closes T533
2018-11-18 21:58:50 -05:00
Matt Baer 7321f6d5a0 Upgrade Lora to v2.202 (cyrillic)
This fixes things like em-dashes and adds new glyphs.
2018-11-17 22:28:58 -05:00
Matt Baer 001fc8bb2d Fully support single-user mode
- New editor nav
- New backend nav
- Support for drafts
- Different footers on backend
2018-11-09 22:10:46 -05:00
Matt Baer 0567564905 Add LESS styles, fonts, icons, CSS generation 2018-11-07 22:33:13 -05:00