This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1921
Features / Re: New revs
« on January 19th, 2014, 10:46 PM »
[master 1ed8455]
14 files changed, 43 insertions(+), 26 deletions(-)
! Why doesn't the board manager allow you to open multiple boards at once anyway..?! (ManageBans.template.php)
* Using this opportunity to remove specificity on input classes. This might cause new issues with other elements using the same generic class names, but so far I only found a use of the .delete class that's unrelated to buttons, and fortunately it doesn't conflict in a visible way. Still, I'll probably have to rethink this. (common.css, index.css, well, basically most files in skins/*)
! My definition lists don't work so well in medium-sized desktop windows. A shame. Making the trigger stricter, then. (sections.css)
! Forgot to commit the lang cache folder. (gz/lang/*)
14 files changed, 43 insertions(+), 26 deletions(-)
! Why doesn't the board manager allow you to open multiple boards at once anyway..?! (ManageBans.template.php)
* Using this opportunity to remove specificity on input classes. This might cause new issues with other elements using the same generic class names, but so far I only found a use of the .delete class that's unrelated to buttons, and fortunately it doesn't conflict in a visible way. Still, I'll probably have to rethink this. (common.css, index.css, well, basically most files in skins/*)
! My definition lists don't work so well in medium-sized desktop windows. A shame. Making the trigger stricter, then. (sections.css)
! Forgot to commit the lang cache folder. (gz/lang/*)
1922
Features / Re: New revs
« on January 19th, 2014, 10:24 PM »
[master c663d38]
21 files changed, 75 insertions(+), 68 deletions(-)
* Renamed /cache to /gz (home of gzipped files), and moved its contents to /keys (key-value pairs). Renamed /cache/php to /cache/app for consistency. Moved cached language files to their own /gz/lang folder. Finally, moved /css and /js to /gz to clean up the root folder structure. Links will now appear as 'gz/...' in the HTML pages, but it's just going to add a couple of bytes to your gzipped pages. I could afford adding hundreds of bytes before Wedge becomes heavier than the competition, so, whatever. (cache/*, css/*, js/*, gz/*)
* Fixed various files with the updated hardcoded links. (Class-Editor.php, Load.php, QueryString.php, Subs-Admin.php, Subs-BBC.php, Subs-Cache.php, index.php, root/Settings.php, root/Settings_bak.php, root/install.php, root/readme_install.html)
* Saving a few bytes in CSS files by using absolute instead of relative paths on non-embedded URLs if it's worth doing it, i.e. the forum is not uploaded to the root folder. (Subs-Cache.php)
@ Note: if you're paranoid about hiding your PHP files from view, you're free to point $cachedir to something else, but keep /css and /js inside /jgz, because they're hardcoded. I know, it doesn't make sense to store their folder names in Settings.php if you can't change them anyway, uh..? Will have to work on that.
21 files changed, 75 insertions(+), 68 deletions(-)
* Renamed /cache to /gz (home of gzipped files), and moved its contents to /keys (key-value pairs). Renamed /cache/php to /cache/app for consistency. Moved cached language files to their own /gz/lang folder. Finally, moved /css and /js to /gz to clean up the root folder structure. Links will now appear as 'gz/...' in the HTML pages, but it's just going to add a couple of bytes to your gzipped pages. I could afford adding hundreds of bytes before Wedge becomes heavier than the competition, so, whatever. (cache/*, css/*, js/*, gz/*)
* Fixed various files with the updated hardcoded links. (Class-Editor.php, Load.php, QueryString.php, Subs-Admin.php, Subs-BBC.php, Subs-Cache.php, index.php, root/Settings.php, root/Settings_bak.php, root/install.php, root/readme_install.html)
* Saving a few bytes in CSS files by using absolute instead of relative paths on non-embedded URLs if it's worth doing it, i.e. the forum is not uploaded to the root folder. (Subs-Cache.php)
@ Note: if you're paranoid about hiding your PHP files from view, you're free to point $cachedir to something else, but keep /css and /js inside /jgz, because they're hardcoded. I know, it doesn't make sense to store their folder names in Settings.php if you can't change them anyway, uh..? Will have to work on that.
1923
The Pub / Re: Logo Madness
« on January 19th, 2014, 11:40 AM »
It's always back to this for me: simplicity vs beauty...
Beauty works best on huge logos, such as on the homepage, or the github account.
Simplicity is better most everywhere else.
But I've never been able to find a logo that works in both large and small sizes. Not fun... ;)
Anyway, logo choice isn't gonna delay anything else, it's just the kind of thing I like coming back to, from time to time.
Beauty works best on huge logos, such as on the homepage, or the github account.
Simplicity is better most everywhere else.
But I've never been able to find a logo that works in both large and small sizes. Not fun... ;)
Anyway, logo choice isn't gonna delay anything else, it's just the kind of thing I like coming back to, from time to time.
1924
Features / Re: New revs
« on January 18th, 2014, 08:55 PM »
[master bec9df2]
1 file changed, 3 insertions(+), 3 deletions(-)
On topics with well over 50 pages, clicking the page index expander would result in the same list reappearing indefinitely. (script.js)
(Plus, shorter script, by a few bytes :P)
1 file changed, 3 insertions(+), 3 deletions(-)
On topics with well over 50 pages, clicking the page index expander would result in the same list reappearing indefinitely. (script.js)
(Plus, shorter script, by a few bytes :P)
1925
Features / Re: New revs
« on January 18th, 2014, 08:41 PM »
[master d917d5b]
2 files changed, 7 insertions(+), 3 deletions(-)
! Marking a topic as unread if it had no replies would mark it as read instead. (Subs-Boards.php)
! If a JS file to be cached isn't found, abort the process instead of creating an empty JS file with a silly name. (Subs-Cache.php)
2 files changed, 7 insertions(+), 3 deletions(-)
! Marking a topic as unread if it had no replies would mark it as read instead. (Subs-Boards.php)
! If a JS file to be cached isn't found, abort the process instead of creating an empty JS file with a silly name. (Subs-Cache.php)
1926
The Pub / Re: Logo Madness
« on January 18th, 2014, 08:19 PM »
Old madness is fun!
It's been some time (soon after Pete left the project) that the wedge.org homepage has been using my personal favorite logo. I know it's not the most popular option, but I wanted to know if anyone (especially the new users here) had anything to say. I haven't tried making a new logo in nearly a year, and I'm not sure I'd be able to do better than what I did so far.
So, between these two logos, should I go for my favorite, or for the user favorite..?


Or maybe one of my older ones..?
(same, different font)





It's been some time (soon after Pete left the project) that the wedge.org homepage has been using my personal favorite logo. I know it's not the most popular option, but I wanted to know if anyone (especially the new users here) had anything to say. I haven't tried making a new logo in nearly a year, and I'm not sure I'd be able to do better than what I did so far.
So, between these two logos, should I go for my favorite, or for the user favorite..?


Or maybe one of my older ones..?
(same, different font)1927
The Pub / Re: Repository name poll! Yayer!!
« on January 18th, 2014, 05:56 PM »
@Farjo> That would imply me going to bed right after releasing it. I need to be around to fix any problems in the first few hours... (Assuming more than a couple of people are going to download it. Ah, ah.)
Anyway, I already said last week that my target date was Jan 20, and that's the day it will be out. Probably. :P
The whole 'laugh at me' thing is if I fail to release it on the 20th, not Sunday. I just thought that Sunday was the 20th.
@Suki> I thought you'd say Wedge/Wedge, given that all of your repos are ucfirst'ed... ;)
And again, the account is Wedge, but it can still be renamed to wedge. All it changes is that the few people (I think, two!) who forked the languages repo will need to update their remotes IF they ever get writing rights on it in the future (which is not very git-like.)
I guess I'm worried about nothing. It's just a symbol of my fear of releasing, as mentioned above.
Anyway, I already said last week that my target date was Jan 20, and that's the day it will be out. Probably. :P
The whole 'laugh at me' thing is if I fail to release it on the 20th, not Sunday. I just thought that Sunday was the 20th.
@Suki> I thought you'd say Wedge/Wedge, given that all of your repos are ucfirst'ed... ;)
And again, the account is Wedge, but it can still be renamed to wedge. All it changes is that the few people (I think, two!) who forked the languages repo will need to update their remotes IF they ever get writing rights on it in the future (which is not very git-like.)
I guess I'm worried about nothing. It's just a symbol of my fear of releasing, as mentioned above.
1928
The Pub / Re: Repository name poll! Yayer!!
« on January 18th, 2014, 04:24 PM »
Well, it's not about the repo name, it has to have 'wedge' in it anyway, and 'wedge/wedge-cms' or 'wedge/wedgeforum' is probably a bit much. Wedge will have to stand by itself as not needing an introduction, so no reason to add 'forum' to it.
And no, it's not too late or anything.
I'm more interested in feedback regarding my last post above, though... ;)
And no, it's not too late or anything.
I'm more interested in feedback regarding my last post above, though... ;)
1929
The Pub / Re: Repository name poll! Yayer!!
« on January 18th, 2014, 03:57 PM »
Oh, you have no idea...
Just this topic: I'm learning towards NOT using the lowercase 'wedge' as account name, but the majority voted for it, and I don't like being unpleasant... :^^;:
As for the rest...
Well, the problem with going public is not that people will be exposed to my code and thus able to criticize it. Not only am I ready for that, but I'm confident that everyone skilled enough to understand what's under the hood will be thrilled by what they'll see.
However, because git allows rewriting history, but makes one's life miserable if you attempt to force push a rewritten history to a repo that's already public[1], once the source code is public, I won't be able to rewrite history, and believe me, rewriting is REALLY cool if you're looking into having a clean repo with easy and fast blames. (Blame is a VERY useful tool which lets you find a line in a specific file, and gives you a full history of that line, i.e. the dates and contents of each successive modification to that line.)
I'm also still not sure about the new folder structure. While /app and /html are acceptable folder names because they're noob-friendly and match all of my demands, I have to say that I have to look twice for the /templates folder, before I remember it's now called /html. Oddly, it didn't take long for me to assimilate that /Sources is now /app, so I just need some time. The main problem is that /core (their parent folder) is still kind mixed up with two other sibling folders starting in 'c', i.e. 'cache' and 'css'. I'm considering renaming 'cache' to 'files', and move 'css' and 'js' inside it, which would make for a cleaner folder list, at the cost of 6 more bytes per filename in the HTML source code. Perhaps if I could find another name like 'files', but a bit shorter... ('bits'??) Or maybe I just shouldn't bother. The reason why /css and /js were made into root folders in the first place was not that it made for shorter URLs (it was a reason, but not my first), it was that it made it easier for me to clear the CSS and JS caches manually. But since I added a menu command to clear all cache, there's no reason for that any longer, eh...
These are the last few hiccups I'm having. The rest, I guess I can live with.
Also, I'm not releasing anything tomorrow, because it's the 19th, and '9' in Japanese means 'pain'. I'm a bit superstitious about Japanese numbers, to each their own. I thought today was the 19th, so I was planning to postpone to tomorrow, but right now I'm torn between releasing *now*, or postponing for another two days (and thus getting laughed at.)
First-world problems™, I know...!
Just this topic: I'm learning towards NOT using the lowercase 'wedge' as account name, but the majority voted for it, and I don't like being unpleasant... :^^;:
As for the rest...
Well, the problem with going public is not that people will be exposed to my code and thus able to criticize it. Not only am I ready for that, but I'm confident that everyone skilled enough to understand what's under the hood will be thrilled by what they'll see.
However, because git allows rewriting history, but makes one's life miserable if you attempt to force push a rewritten history to a repo that's already public[1], once the source code is public, I won't be able to rewrite history, and believe me, rewriting is REALLY cool if you're looking into having a clean repo with easy and fast blames. (Blame is a VERY useful tool which lets you find a line in a specific file, and gives you a full history of that line, i.e. the dates and contents of each successive modification to that line.)
I'm also still not sure about the new folder structure. While /app and /html are acceptable folder names because they're noob-friendly and match all of my demands, I have to say that I have to look twice for the /templates folder, before I remember it's now called /html. Oddly, it didn't take long for me to assimilate that /Sources is now /app, so I just need some time. The main problem is that /core (their parent folder) is still kind mixed up with two other sibling folders starting in 'c', i.e. 'cache' and 'css'. I'm considering renaming 'cache' to 'files', and move 'css' and 'js' inside it, which would make for a cleaner folder list, at the cost of 6 more bytes per filename in the HTML source code. Perhaps if I could find another name like 'files', but a bit shorter... ('bits'??) Or maybe I just shouldn't bother. The reason why /css and /js were made into root folders in the first place was not that it made for shorter URLs (it was a reason, but not my first), it was that it made it easier for me to clear the CSS and JS caches manually. But since I added a menu command to clear all cache, there's no reason for that any longer, eh...
These are the last few hiccups I'm having. The rest, I guess I can live with.
Also, I'm not releasing anything tomorrow, because it's the 19th, and '9' in Japanese means 'pain'. I'm a bit superstitious about Japanese numbers, to each their own. I thought today was the 19th, so I was planning to postpone to tomorrow, but right now I'm torn between releasing *now*, or postponing for another two days (and thus getting laughed at.)
First-world problems™, I know...!
| 1. | Basically, it just forces everyone else to delete their local repo, re-download the remote repo, and not kill the one who rewrote history. Additionally, github or git never really tell the user about that rewrite. Nuff said, it's a recipe for disaster. |
1930
Features / Re: New revs
« on January 18th, 2014, 03:33 PM »
[master 31e39ca]
3 files changed, 4 insertions(+), 4 deletions(-)
! Fixed styling of viewquery pages. (ViewQuery.php)
! Fixed wrong variable name. (index.template.php)
- Disabling contact list pages until I find some time to actually rebuild them. (Profile.php)
3 files changed, 4 insertions(+), 4 deletions(-)
! Fixed styling of viewquery pages. (ViewQuery.php)
! Fixed wrong variable name. (index.template.php)
- Disabling contact list pages until I find some time to actually rebuild them. (Profile.php)
1931
Features / Re: New revs
« on January 18th, 2014, 03:29 PM »
[master 90e14f9]
5 files changed, 20 insertions(+), 20 deletions(-)
+ Added support for skin templates. Just add a 'html' folder in your skin folder, and every file you'll put there will replace the default template, just like themes do in SMF. I only added this feature to ensure that theme functionality is 100% emulated in Wedge, but honestly I don't think it's a very good thing to do. I'd strongly recommend using function overriding inside your skin.xml files, or at least waiting until I decide whether both template files (default and skin's) should be loaded, in which case of course your template files will need to exclusively use overriders.
* Renamed $settings['template_dirs'] to $context['template_folders'], because it makes more sense to store in $context anything that's NOT stored in the database in the first place.
* Variablenamenazi. (Display.php)
@ Taking a huge leap of faith; am now parsing skin options before loading templates at all.
5 files changed, 20 insertions(+), 20 deletions(-)
+ Added support for skin templates. Just add a 'html' folder in your skin folder, and every file you'll put there will replace the default template, just like themes do in SMF. I only added this feature to ensure that theme functionality is 100% emulated in Wedge, but honestly I don't think it's a very good thing to do. I'd strongly recommend using function overriding inside your skin.xml files, or at least waiting until I decide whether both template files (default and skin's) should be loaded, in which case of course your template files will need to exclusively use overriders.
* Renamed $settings['template_dirs'] to $context['template_folders'], because it makes more sense to store in $context anything that's NOT stored in the database in the first place.
* Variablenamenazi. (Display.php)
@ Taking a huge leap of faith; am now parsing skin options before loading templates at all.
1932
Features / Re: New revs
« on January 18th, 2014, 09:50 AM »
[master f8c8552]
11 files changed, 62 insertions(+), 30 deletions(-), 14.12 KiB
+ Finally implemented the UI to turn a board into a blog. Well, that was actually very easy, as expected. Most of the diff patch is filled with the (more tedious) replacement of 'board' to 'forum' (for logical reasons) in board_type choices.
PS: Yeah, can you believe it..?! Me doing tedious work for a release.
11 files changed, 62 insertions(+), 30 deletions(-), 14.12 KiB
+ Finally implemented the UI to turn a board into a blog. Well, that was actually very easy, as expected. Most of the diff patch is filled with the (more tedious) replacement of 'board' to 'forum' (for logical reasons) in board_type choices.
PS: Yeah, can you believe it..?! Me doing tedious work for a release.
1934
Features / Re: Language revs
« on January 17th, 2014, 08:22 PM »
I didn't notice it was disabled.
[master 8e87f71] Update for override_skin and skin_mobile. (ManageBoards, Reports)
6 files changed, 13 insertions(+), 9 deletions(-)
[master 8e87f71] Update for override_skin and skin_mobile. (ManageBoards, Reports)
6 files changed, 13 insertions(+), 9 deletions(-)
1935
Features / Re: New revs
« on January 17th, 2014, 08:21 PM »
[master d50d2fa]
11 files changed, 60 insertions(+), 35 deletions(-)
+ Added support for skin_mobile definition in boards. (Half a dozen files.)
* Renamed boards.override_theme to boards.override_skin, obviously. (Half a dozen files.)
! Fixed the last wesql::insert. Was too glad to be finished with it, I forgot to add the table name, ah ah... (Subs-Template.php)
! If a board was using the default skin, it would reset to something else in the board management page. (Themes.php, ManageBoards.template.php)
11 files changed, 60 insertions(+), 35 deletions(-)
+ Added support for skin_mobile definition in boards. (Half a dozen files.)
* Renamed boards.override_theme to boards.override_skin, obviously. (Half a dozen files.)
! Fixed the last wesql::insert. Was too glad to be finished with it, I forgot to add the table name, ah ah... (Subs-Template.php)
! If a board was using the default skin, it would reset to something else in the board management page. (Themes.php, ManageBoards.template.php)