Commit graph

43 commits

Author SHA1 Message Date
Matt Baer
172a6dba25
Merge pull request #263 from writeas/typography-alpha
Typography Improvements, Vol. I
2020-03-06 07:05:51 -06:00
Matt Baer
eda267e30a Revert accidental h2 font-size change 2020-03-04 10:14:33 -06:00
Matt Baer
4595d480ae
Merge pull request #264 from writeas/admin-dashboard-redesign
Admin dashboard redesign

Closes T694
2020-03-01 13:59:50 -05:00
Matt Baer
46dbb10433 Make Admin Settings page more user-friendly
- Add a description to each config item
- Change item names to make more sense

Ref T694
2020-02-25 14:28:34 -05:00
Matt Baer
8933076296 Add invite button to admin Users page header
Ref T694
2020-02-25 13:06:55 -05:00
Matt Baer
37b7755c08 Tell admin that automated check failed when necessary
This keeps track when automated update check fails, and displays a
relevant message to the admin on /admin/updates

Ref T572
2020-02-15 12:56:33 -05:00
Matt Baer
c2ece926e0 Show update notification in admin nav bar
When a WriteFreely update is available, indicate this on the "Updates"
navigation item

Ref T572
2020-02-15 12:53:47 -05:00
Matt Baer
a06bb457de Change copy and design on WF Updates page
- Tweak the copy
- Include link to download latest release
- Change the version status design a bit
- Restyle some text
2020-02-15 11:59:47 -05:00
Matt Baer
92da069ce4 Move admin dashboard sections into subpages
This moves app config to a "Settings" page and the application monitor
to a "Monitor" page. It also reworks the admin navigation bar a bit and
adds some instance stats on the dashboard.

Ref T694
2020-02-14 13:55:24 -05:00
Matt Baer
71224d68a2 Change line-height to 1.5 2020-02-14 08:40:06 -05:00
Matt Baer
5d754176e0 Use h1 consistently on user pages
instead of h2s. This also removes odd one-time class usages on Account
Settings page.
2020-02-10 15:08:14 -05:00
Matt Baer
75e2b60328
Merge pull request #172 from writeas/import-text
add basic text file imports

Resolves T609
2020-01-14 12:33:57 -05:00
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
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