senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Diogo Cordeiro (diogo@loadaverage.org)'s status on Thursday, 27-Jun-2019 00:52:10 JST Diogo Cordeiro Diogo Cordeiro
    • MMN-o ✅⃠
    • kim
    The difference between GNU social and CMSs like Joomla is that, in GNU social, we follow the Unix-philosophy of small programs to do a small job seriously.

    That is, GS has a structure in which themes are only intended to change the common appearance and, therefore, changing the CSS should be enough.

    Often, themes in CMSs like Joomla allow to add functionality, which should only be done via plugins (at least in GS's case). The concept of themes with embedded PHP wasn't new back when GS was first written. I believe it wasn't applied on purpose because of the above mentioned reasons.

    Therefore, I think the existing structure is good and powerful.

    With plugins you can add functionality and the associated styling. Take your translation plugin as an example. You were able to add a visual component (a Translate button to each notice), specific javascript and, you could have added specific CSS too (maybe by presenting an icon in the translate button instead of the text 'Translate').

    The HTML visual components that are inherent to GS, i.e. not added by plugins, can be edited, as you've said, by directly modifying the core. And, although the existing elements are likely fine, we should consider to start making use of HTML5's new tags.

    cc: Maybe you have some further insight to add @MMN-o ?

    > we need to edit the document object adding classes and more elements

    So, bearing this in mind, maybe those new elements could be added with plugins instead? As this allows every theme to take advantage of them and not only a specific one. What do you think?
    In conversation Thursday, 27-Jun-2019 00:52:10 JST from loadaverage.org permalink
    • Diogo Cordeiro (diogo@loadaverage.org)'s status on Thursday, 27-Jun-2019 01:43:40 JST Diogo Cordeiro Diogo Cordeiro
      • kim
      It looks good! :) I suppose that the double switches for Fancy URLs and Server SSL wasn't intended? x)

      Do you have the related code hosted somewhere?
      In conversation Thursday, 27-Jun-2019 01:43:40 JST permalink
    • Diogo Cordeiro (diogo@loadaverage.org)'s status on Thursday, 27-Jun-2019 02:09:19 JST Diogo Cordeiro Diogo Cordeiro
      • kim
      Reading online I've verified that the use of JavaScript in bootstrap is not mandatory and that it is compatible with librejs.

      I should stress anyway that in GNU social it is important to keep JS as an optional resource for increased usability and not as a requirement, in the spirit of https://anybrowser.org/campaign/abdesign2.html#section_javascript .

      Happy hacking and good vacation! :)
      In conversation Thursday, 27-Jun-2019 02:09:19 JST permalink

      Attachments


Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.