GithubHelp home page GithubHelp logo

pastebingtk's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

hyber-code

pastebingtk's Issues

Login menu item still allows for logging in when already logged in

Selecting the Login menu item will still show the dialog to log in even when already successfully logged in.

This also results in a bug where the interface does not reflect the current state:

  1. log in successfully
  2. select Login menu item
  3. click Skip
  4. the previous step logs you out (why? make it so it doesn't), but the status bar still says you're logged in

Remove command line arguments

They would require lots of work to get them up to feature parity with the main application, as they have not been updated in quite a while. In addition, they don't fit within the scope of the application. (There are already command line pastebin clients, and this application is supposed to be a graphical desktop client.)

List Trending Pastes causes an error

Seems to be an issue with PastebinPython:

adam@mr-smith:~/Documents/Programming/PastebinGTK$ python pastebingtk.py
Traceback (most recent call last):
  File "pastebingtk.py", line 228, in <lambda>
    ("list_trending_pastes", None, "List _Trending Pastes...", "<Control>t", None, lambda x: self.list_pastes(source = "trending")),
  File "pastebingtk.py", line 565, in list_pastes
    pastes = self.api.listTrendingPastes()
  File "/home/adam/Documents/Programming/PastebinGTK/resources/pastebin_python/pastebin.py", line 217, in listTrendingPastes
    trendsList = self.__parseXML(trendsList)
  File "/home/adam/Documents/Programming/PastebinGTK/resources/pastebin_python/pastebin.py", line 332, in __parseXML
    retList = self.__parsePaste(xmlString)
  File "/home/adam/Documents/Programming/PastebinGTK/resources/pastebin_python/pastebin.py", line 309, in __parsePaste
    'paste_format_long':pasteElement.getElementsByTagName('paste_format_long')[0].childNodes[0].nodeValue,
IndexError: list index out of range

Code cleanup

All files could use a bit of a code cleanup, mostly with the structuring as well as overuse of comments and blank space.

Pastes are incorrectly set as Unlisted

When uploading a paste as a logged-in user, pastes with the exposure set to Public will still be uploaded as Unlisted. Strangely, this behavior does not occur with anonymous uploading.

TODO: test what setting to Private does.

Change login interface

Instead of using a dialog, create a toolbar on the main UI for the login fields.

  • Two textentries: "Username", "Password"
  • Two buttons: "Login", "Logout"
    • "Logout" should be disabled unless the user is currently logged in

Put this toolbar below the main editing textbox.

Readme file could use an update

  • After the transition to python-pastebin, change the dependency section.
  • Create a new, better looking, markdown-formatted file.
  • Add at least one screenshot to the file.

Incorrect help text in command line

When an invalid command is entered, the program outputs the correct format. However, it uses "./pastebincl" instead of "python pastebingtk.py".

Cannot load private pastes

Private pastes cannot be loaded from the List User's Pastes dialog.

There's probably no way to fix this though, as private pastes are simply inaccessible using the API. Possibly show a dialog telling the user that private pastes cannot be loaded?

Any feature that requires the user to be logged in should offer to do so

For features like List User's Pastes, Delete Paste, and Get User's Details, the user must be logged in for it to work. However, in the current state all the application does is say that a login is necessary, then stop there. Would be better if the dialog was:

"Must be logged in to .

Login now?"

[Cancel] [OK]

Add editing features

Add more features like undo, redo, cut, copy, paste, find, replace, etc, to make it less painful to edit inside the application

Favorites system

New menu:

Favorite

  • Add Favorite Paste
  • Delete Favorite Paste
  • View Favorite Pastes

Fields for Add:

  • name of paste
  • paste key

Store in a JSON file. Store name, key, date added. In View, have button to open selected paste.

Add feature to rename a paste

Requires login. Have user select paste from list of their own, then enter new name. Delete old paste and reupload with new name.

Better help pages

Currently the help page is out of date and incomplete. Redo the formatting and organization to make it more clear, rewrite anything that is outdated, and write anything new that is needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.