def _get_private_software(self):
        # skipping the internal Qiita plugin and only selecting private
        # commands
        private_software = [s for s in Software.iter()
                            if s.name != 'Qiita' and s.type == 'private']

        return private_software
Exemple #2
0
    def get(self):
        # active True will only show active software
        active = True
        user = self.current_user
        if user is not None and user.level in {'admin', 'dev'}:
            active = False

        software = Software.iter(active=active)
        self.render("software.html", software=software)
Exemple #3
0
 def get(self):
     self.check_access()
     software = Software.iter(False)
     self.render("software.html", software=software)
Exemple #4
0
 def get(self):
     self.check_access()
     software = Software.iter(False)
     self.render("software.html", software=software)