<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ezcms.git/views.py, branch master</title>
<subtitle>Basic flask app I made to serve mjfer.net
</subtitle>
<id>https://git.mjfer.net/ezcms.git/atom?h=master</id>
<link rel='self' href='https://git.mjfer.net/ezcms.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/'/>
<updated>2022-03-13T19:21:11Z</updated>
<entry>
<title>Pull changes from mjfer.net</title>
<updated>2022-03-13T19:21:11Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-03-13T19:21:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=94f71d6f8fc7301dfd470ccf2fee27e078321a78'/>
<id>urn:sha1:94f71d6f8fc7301dfd470ccf2fee27e078321a78</id>
<content type='text'>
This commit adds the changes from the mjfer.net which enable using git
as the file last update tracker
</content>
</entry>
<entry>
<title>Remove flask caching and unused imports</title>
<updated>2022-02-25T22:36:01Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-25T22:36:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=5589754533aab9b7edbdc41cc13c2cd189aa3c26'/>
<id>urn:sha1:5589754533aab9b7edbdc41cc13c2cd189aa3c26</id>
<content type='text'>
This removes Flask caching since it seems I'm dumb and can't implement
it correctly and it seems to serve pretty much no purpose anyway.
Caching can always be handled by the server in front

This commit also removes some unused imports that were leftover after
moving functionality to different files (like view_functions)

Flask compress might be useless too since nginx can also gzip. But I can
actually observe the change... is there any problem with double
gzipping?
</content>
</entry>
<entry>
<title>Add caching fix from mjfer.net branch</title>
<updated>2022-02-20T19:29:37Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-20T19:29:37Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=43e114b82500476fa81754bf099ad25ee945201e'/>
<id>urn:sha1:43e114b82500476fa81754bf099ad25ee945201e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix 500 internal error (merge from mjfer.net)</title>
<updated>2022-02-03T05:38:22Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-03T05:38:22Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=3ccea676191e24add12f68011726ed6ea80f5ee1'/>
<id>urn:sha1:3ccea676191e24add12f68011726ed6ea80f5ee1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove site as the parent directory, manual merge</title>
<updated>2021-12-22T21:59:15Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2021-12-22T21:59:15Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=283654d9a0d644ec3cd6e9c06898f11ac8effa78'/>
<id>urn:sha1:283654d9a0d644ec3cd6e9c06898f11ac8effa78</id>
<content type='text'>
merges needed changes (and CSS) from mjfer.net branch
</content>
</entry>
<entry>
<title>Optimize mobile CSS. Add last update time default</title>
<updated>2021-11-02T03:56:07Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2021-11-02T03:56:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=ec6feec81ebab89dc6779027649b1ce517042d22'/>
<id>urn:sha1:ec6feec81ebab89dc6779027649b1ce517042d22</id>
<content type='text'>
This commit optimizes the mobile and web css to be responsive on zoom
(in supported browsers) and responsive on mobile screens. This is a
minimal optimization and lot can be done to improve it, particularly
for wider screen devices like tablets

This also adds the last update time to all views (except home).
Function logic was moved to view functions to support this and
rss_generator was changed to depend on it
</content>
</entry>
<entry>
<title>Adds RSS auto-generation for files in 'site'</title>
<updated>2021-10-15T00:14:53Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-10-15T00:14:53Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=c583a69362f86fcc8e1b35a45a06dd8377d6308f'/>
<id>urn:sha1:c583a69362f86fcc8e1b35a45a06dd8377d6308f</id>
<content type='text'>
This commit adds rss_generator.py which contains the main logic for
indexing the site directory and generating a feed on startup. It serves
as a sort of ad-hoc database which is accessed when /feed.xml is
requested.

Also corrects various typos, README nonsense, and expands the config
options for RSS. Instances of './templates/site' have been replaced with
the general BASE_DIR variable in the siteconfig.
</content>
</entry>
<entry>
<title>Caching support. Separate views.py in 2 files</title>
<updated>2021-10-11T02:15:07Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-10-11T02:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=02a37ad308fbcc27a04787c84a76de7c2936a6d5'/>
<id>urn:sha1:02a37ad308fbcc27a04787c84a76de7c2936a6d5</id>
<content type='text'>
This commit adds the Flask-Caching module to the software stack and
enables the caching of views in a wide variety of ways, but implemented
here to be simple to understand to someone new to the concept of caching
(aka me).

Various documentation and formatting was applied to all files. views.py
internal functions (mostly related to filesystem operations of the
server). have been moved into view_functions.py
</content>
</entry>
<entry>
<title>Clarify siteconfig</title>
<updated>2021-08-26T00:05:00Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-08-26T00:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=6ddd97e1c39f55fe60fca093ca4fe610eca6d462'/>
<id>urn:sha1:6ddd97e1c39f55fe60fca093ca4fe610eca6d462</id>
<content type='text'>
This clarifies what the MAIN_SITE_DIRS option means since one might
read it to mean you can put your directories anywhere. Not so, you can
only pick which dirs are displayed with that option.

Also recommends to not use the secret key unless needed (for what
reason, I don't know).
</content>
</entry>
<entry>
<title>.description is now rendered as html</title>
<updated>2021-06-17T04:28:18Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-06-17T04:25:03Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=4972877f8ef0e0e3664d3dd0edd651107ddc026f'/>
<id>urn:sha1:4972877f8ef0e0e3664d3dd0edd651107ddc026f</id>
<content type='text'>
.description was previously read as a text file, but this is cumbersome
and limits the user. This allows the user to embed html in their
.description files by adding the "cur_path" variable to context.
'index.html' has been updated to render the template located in cur_path
if a description file exists
</content>
</entry>
</feed>
